From 3e47dbcc8c0e5d37715212f69e9e076f0b4b62e3 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 15 Sep 2016 17:00:02 +0200 Subject: [PATCH] fixed memory leak --- tests/Makefile | 2 +- tests/datagencli.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 3ce9f317e..17cf6589e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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) diff --git a/tests/datagencli.c b/tests/datagencli.c index 772e3dc99..2f3ebc4d6 100644 --- a/tests/datagencli.c +++ b/tests/datagencli.c @@ -9,7 +9,7 @@ /*-************************************ -* Includes +* Dependencies **************************************/ #include "util.h" /* Compiler options */ #include /* fprintf, stderr */