From: Michael Tremer Date: Tue, 4 May 2021 13:06:15 +0000 (+0000) Subject: tests: Free parser after test X-Git-Tag: 0.9.28~1285^2~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a58f950767410990c215393d45bbbd7fbfc494;p=pakfire.git tests: Free parser after test Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/parser.c b/tests/libpakfire/parser.c index 113c2c97d..383e9db40 100644 --- a/tests/libpakfire/parser.c +++ b/tests/libpakfire/parser.c @@ -154,6 +154,8 @@ static int test_parser_command(const struct test* t) { char* value = pakfire_parser_get(parser, NULL, "command"); ASSERT_STRING_EQUALS(value, "ABC"); + pakfire_parser_unref(parser); + return EXIT_SUCCESS; }