]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
whoops... call fr_trie_free(), not talloc_free()
authorAlan T. DeKok <aland@freeradius.org>
Sat, 16 Mar 2019 21:48:29 +0000 (17:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 16 Mar 2019 21:48:29 +0000 (17:48 -0400)
as the trie no longer has each node parented from the previous one.

src/lib/util/trie.c

index ee531ef8ab118e4e978e1aba2192db6c743febe4..8bf8407f91a42e1ffaf05bb01ba71b8ad3f0f86c 100644 (file)
@@ -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 */