From: Alan T. DeKok Date: Sat, 16 Mar 2019 21:48:29 +0000 (-0400) Subject: whoops... call fr_trie_free(), not talloc_free() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6bb586cfda4719be409cbc7a6048c2fef0a6b7a;p=thirdparty%2Ffreeradius-server.git whoops... call fr_trie_free(), not talloc_free() as the trie no longer has each node parented from the previous one. --- diff --git a/src/lib/util/trie.c b/src/lib/util/trie.c index ee531ef8ab1..8bf8407f91a 100644 --- a/src/lib/util/trie.c +++ b/src/lib/util/trie.c @@ -2492,7 +2492,7 @@ int main(int argc, char **argv) fclose(fp); - talloc_free(ft); + fr_trie_free(ft); talloc_free(data_ctx); talloc_report_full(NULL, stdout); /* Print details of any leaked memory */