From e7f541396715ee2895abcf73044b91ae9b746201 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Wed, 20 Dec 2017 18:09:53 +0100 Subject: Better parsing of the rules Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.--- src/sp_config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sp_config.c') diff --git a/src/sp_config.c b/src/sp_config.c index 2432cc4..bed81bc 100644 --- a/src/sp_config.c +++ b/src/sp_config.c @@ -189,6 +189,10 @@ void sp_disabled_function_list_free(sp_node_t* list) { sp_disabled_function* df = cursor->data; if (df && df->functions_list) sp_list_free(df->functions_list); + if (df) { + sp_tree_free(df->param); + sp_tree_free(df->var); + } cursor = cursor->next; } } -- cgit v1.3