diff options
| author | Christian Göttsche | 2026-02-22 22:09:44 +0100 |
|---|---|---|
| committer | Julien Voisin | 2026-02-22 22:32:46 +0100 |
| commit | d635da3c53d3d75aca50de340b375b452ba97f8a (patch) | |
| tree | 4c2bb710e1ada1ea32e29b9ec2b3f60e1655e225 /src | |
| parent | 4985b0f75a3593d1e7777ba6c1b59da4bcf2ea41 (diff) | |
Drop dead code
Dead since almost 5 years with commit ae4ac9f ("properly free memory on
shutdown")
Diffstat (limited to '')
| -rw-r--r-- | src/sp_config.c | 3 | ||||
| -rw-r--r-- | src/sp_config.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/sp_config.c b/src/sp_config.c index 46742c4..34657e5 100644 --- a/src/sp_config.c +++ b/src/sp_config.c | |||
| @@ -288,9 +288,6 @@ void sp_free_disabled_function(void *data) { | |||
| 288 | sp_free_zstr(df->dump); | 288 | sp_free_zstr(df->dump); |
| 289 | sp_free_zstr(df->alias); | 289 | sp_free_zstr(df->alias); |
| 290 | 290 | ||
| 291 | // sp_list_free(df->param_array_keys); | ||
| 292 | // sp_list_free(df->var_array_keys); | ||
| 293 | |||
| 294 | sp_tree_free(df->var); | 291 | sp_tree_free(df->var); |
| 295 | 292 | ||
| 296 | pefree(df->cidr, 1); | 293 | pefree(df->cidr, 1); |
diff --git a/src/sp_config.h b/src/sp_config.h index edaa686..1914260 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -132,8 +132,6 @@ typedef struct { | |||
| 132 | zend_string *alias; | 132 | zend_string *alias; |
| 133 | bool param_is_array; | 133 | bool param_is_array; |
| 134 | bool var_is_array; | 134 | bool var_is_array; |
| 135 | // sp_list_node *param_array_keys; | ||
| 136 | // sp_list_node *var_array_keys; | ||
| 137 | 135 | ||
| 138 | bool allow; | 136 | bool allow; |
| 139 | 137 | ||
