From 3bf915846f77d7df451728d115eaa25613532063 Mon Sep 17 00:00:00 2001 From: Swen Schillig Date: Mon, 29 Jul 2019 15:46:15 +0200 Subject: [PATCH] tfork: Free memory in torture test to satisfy sanitizer MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- lib/util/tests/tfork.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.47.3