diff options
Diffstat (limited to 'src/sp_config.c')
| -rw-r--r-- | src/sp_config.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp_config.c b/src/sp_config.c index 1877859..f1c7b65 100644 --- a/src/sp_config.c +++ b/src/sp_config.c | |||
| @@ -186,13 +186,13 @@ int sp_parse_config(const char *conf_file) { | |||
| 186 | void sp_disabled_function_list_free(sp_list_node* list) { | 186 | void sp_disabled_function_list_free(sp_list_node* list) { |
| 187 | sp_list_node* cursor = list; | 187 | sp_list_node* cursor = list; |
| 188 | while(cursor) { | 188 | while(cursor) { |
| 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) { | 192 | if (df) { |
| 193 | sp_tree_free(df->param); | 193 | sp_tree_free(df->param); |
| 194 | sp_tree_free(df->var); | 194 | sp_tree_free(df->var); |
| 195 | } | 195 | } |
| 196 | cursor = cursor->next; | 196 | cursor = cursor->next; |
| 197 | } | 197 | } |
| 198 | } | 198 | } |
