Sun, 06 Oct 2024 12:32:28 +0200
fix uninitialized simple_destructor - fixes #443
src/tree.c | file | annotate | diff | comparison | revisions |
--- a/src/tree.c Sat Oct 05 19:05:47 2024 +0200 +++ b/src/tree.c Sun Oct 06 12:32:28 2024 +0200 @@ -812,6 +812,7 @@ tree->node_create = create_func; tree->search = search_func; tree->search_data = search_data_func; + tree->simple_destructor = NULL; tree->advanced_destructor = (cx_destructor_func2) cxFree; tree->destructor_data = (void *) allocator; tree->loc_parent = loc_parent;