From: Jean-Philippe Orsini Date: Mon, 7 May 2012 10:47:19 +0000 (+0000) Subject: fixed too large malloc X-Git-Tag: v1.3.0~105 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=a7dfd8274a4ba68abc4971a46d173ca1b4ae22c8 fixed too large malloc --- 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);