]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Free string array after use
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 09:34:14 +0000 (09:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Mar 2025 09:34:14 +0000 (09:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/string.c

index 46d418df6b697f5a3766add12be713e88084655b..005572f1bb6505f796635b960e155d434a41a1c5 100644 (file)
@@ -512,6 +512,8 @@ static int test_strings_pop(const struct test* t) {
        r = EXIT_SUCCESS;
 
 FAIL:
+       pakfire_strings_free(array);
+
        return r;
 }