diff options
| author | xXx-caillou-xXx | 2017-12-20 18:09:53 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-20 18:09:53 +0100 |
| commit | e7f541396715ee2895abcf73044b91ae9b746201 (patch) | |
| tree | ba0e9765e7f14f04b92585df1f3fcd1830ab4b00 /src/sp_config.c | |
| parent | 8d6cc4f2b63c3f0dc31fe6cecd34ac023ea1cccb (diff) | |
Better parsing of the rules
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.
Diffstat (limited to 'src/sp_config.c')
| -rw-r--r-- | src/sp_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { | |||
| 189 | sp_disabled_function* df = cursor->data; | 189 | sp_disabled_function* df = cursor->data; |
| 190 | if (df && df->functions_list) | 190 | if (df && df->functions_list) |
| 191 | sp_list_free(df->functions_list); | 191 | sp_list_free(df->functions_list); |
| 192 | if (df) { | ||
| 193 | sp_tree_free(df->param); | ||
| 194 | sp_tree_free(df->var); | ||
| 195 | } | ||
| 192 | cursor = cursor->next; | 196 | cursor = cursor->next; |
| 193 | } | 197 | } |
| 194 | } | 198 | } |
