changeset 784:1db55c733f7d

Fix memory leaks in tests.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Dec 2023 07:51:04 +0200
parents db1a132c7754
children bca32201868e
files tests.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests.c	Wed Dec 20 07:27:35 2023 +0200
+++ b/tests.c	Wed Dec 20 07:51:04 2023 +0200
@@ -938,6 +938,8 @@
             TEST_1B("%d", (stat.flags & TH_IS_DIR), !=, 0);
         }
 #endif
+        th_free(home);
+        th_free(cfg);
     }
 
     //