From a7dfd8274a4ba68abc4971a46d173ca1b4ae22c8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Mon, 7 May 2012 10:47:19 +0000 Subject: [PATCH] fixed too large malloc --- src/html.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/html.c b/src/html.c index c9cb9d6..c5a0a2d 100644 --- a/src/html.c +++ b/src/html.c @@ -145,7 +145,6 @@ static char *path_new(const char *dir, const char *file, const char *suffixe) { char *path = malloc(strlen(dir)+1+ strlen(file)+ - strlen(".html")+ (suffixe ? strlen(suffixe) : 0) + 1); -- 2.7.4