From 311085dd34c445b8d9195c8517475b764a61eb3b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 15 Feb 2022 14:44:08 +0100 Subject: [PATCH] radix: fix unittest not cleaning up --- src/util-radix-tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util-radix-tree.c b/src/util-radix-tree.c index 07217f677b..6b4f24c02f 100644 --- a/src/util-radix-tree.c +++ b/src/util-radix-tree.c @@ -2630,6 +2630,7 @@ static int SCRadixTestIPV4NetblockInsertion10(void) found = SCRadixFindKeyIPV4BestMatch((uint8_t *)&servaddr.sin_addr, tree, NULL); FAIL_IF_NOT_NULL(found); + SCRadixReleaseRadixTree(tree); PASS; }