diff options
Diffstat (limited to 'src/sp_config.c')
| -rw-r--r-- | src/sp_config.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sp_config.c b/src/sp_config.c index c41b8f7..13002cc 100644 --- a/src/sp_config.c +++ b/src/sp_config.c | |||
| @@ -182,3 +182,13 @@ int sp_parse_config(const char *conf_file) { | |||
| 182 | fclose(fd); | 182 | fclose(fd); |
| 183 | return SUCCESS; | 183 | return SUCCESS; |
| 184 | } | 184 | } |
| 185 | |||
| 186 | void sp_disabled_function_list_free(sp_node_t* list) { | ||
| 187 | sp_node_t* cursor = list; | ||
| 188 | while(cursor) { | ||
| 189 | sp_disabled_function* df = cursor->data; | ||
| 190 | if (df && df->functions_list) | ||
| 191 | sp_list_free(df->functions_list); | ||
| 192 | cursor = cursor->next; | ||
| 193 | } | ||
| 194 | } | ||
