diff options
-rw-r--r-- | tests/nft-parsing-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c index 70028a0..5eaaa1e 100644 --- a/tests/nft-parsing-test.c +++ b/tests/nft-parsing-test.c @@ -335,9 +335,11 @@ static int test_xml(const char *filename) } } + mxmlDelete(tree); return ret; failparsing: + mxmlDelete(tree); printf("parsing %s: ", filename); printf("\033[31mFAILED\e[0m (%s)\n", strerror(errno)); return -1; |