]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed memory leak
authorYann Collet <cyan@fb.com>
Thu, 15 Sep 2016 15:00:02 +0000 (17:00 +0200)
committerYann Collet <cyan@fb.com>
Thu, 15 Sep 2016 15:00:02 +0000 (17:00 +0200)
tests/Makefile
tests/datagencli.c

index 3ce9f317ee7e9de899238326bf8f09ee763090e7..17cf6589e710df38218bf5646071807b77953016 100644 (file)
@@ -154,7 +154,7 @@ clean:
 ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly))
 HOST_OS = POSIX
 
-valgrindTest: VALGRIND = valgrind --leak-check=full --error-exitcode=1
+valgrindTest: VALGRIND = valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1
 valgrindTest: zstd datagen fuzzer fullbench zbufftest
        @echo "\n ---- valgrind tests : memory analyzer ----"
        $(VALGRIND) ./datagen -g50M > $(VOID)
index 772e3dc994f92457a19c9784eb1768ce4074c0f0..2f3ebc4d6863f29eb2de77a41d4fab6fc6a746d6 100644 (file)
@@ -9,7 +9,7 @@
 
 
 /*-************************************
-*  Includes
+*  Dependencies
 **************************************/
 #include "util.h"      /* Compiler options */
 #include <stdio.h>     /* fprintf, stderr */