From: Swen Schillig Date: Mon, 29 Jul 2019 13:46:15 +0000 (+0200) Subject: tfork: Free memory in torture test to satisfy sanitizer X-Git-Tag: tdb-1.4.2~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bf915846f77d7df451728d115eaa25613532063;p=thirdparty%2Fsamba.git tfork: Free memory in torture test to satisfy sanitizer Signed-off-by: Swen Schillig Reviewed-by: Andrew Bartlett Reviewed-by: Matthias Dieter Wallnöfer Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Aug 8 11:33:32 UTC 2019 on sn-devel-184 --- diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c index 8a6197fc00f..22684e6ea9a 100644 --- a/lib/util/tests/tfork.c +++ b/lib/util/tests/tfork.c @@ -656,6 +656,9 @@ static bool test_tfork_event_file_handle(struct torture_context *tctx) "tfork process 2 event fd not readable\n"); done: + free(t1); + free(t2); + return ok; }