fixed memleak
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 22 Feb 2014 10:06:39 +0000 (10:06 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 22 Feb 2014 10:06:39 +0000 (10:06 +0000)
src/html.c

index 248cf82..81d6377 100644 (file)
@@ -447,6 +447,7 @@ version_to_html(struct ppa_stats *ppa,
 
        create_html(path, f_name, body, script);
 
+       free(script);
        free(json);
        free(path);
        free(f_name);