From 4adb4b1013e6fbd057fe6158a911e7b860a78075 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 21 Mar 2017 19:48:08 -0700 Subject: Don't leak a ternary tree when building the menu's initial path --- tern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tern.h') diff --git a/tern.h b/tern.h index 6bc2ae9..e3a2db6 100644 --- a/tern.h +++ b/tern.h @@ -42,5 +42,6 @@ uint32_t tern_count(tern_node *head); void tern_foreach(tern_node *head, iter_fun fun, void *data); char * tern_int_key(uint32_t key, char * buf); tern_node * tern_get_node(tern_val value); +void tern_free(tern_node *head); #endif //TERN_H_ -- cgit v1.2.3