summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-08-02 19:19:23 +0200
committerBen Fuhrmannek2021-08-02 19:19:23 +0200
commitae4ac9f69de3120004557824e0d766fe8140b27d (patch)
treeef97751ab54357d5d74859b870ce84f4c6d044df /src/sp_config.h
parent4cda0120313dfd5d71236f6faf87416e93f5f89c (diff)
properly free memory on shutdown
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index e7b1473..f3b64a6 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -130,8 +130,8 @@ typedef struct {
130 zend_string *alias; 130 zend_string *alias;
131 bool param_is_array; 131 bool param_is_array;
132 bool var_is_array; 132 bool var_is_array;
133 sp_list_node *param_array_keys; 133 // sp_list_node *param_array_keys;
134 sp_list_node *var_array_keys; 134 // sp_list_node *var_array_keys;
135 135
136 bool allow; 136 bool allow;
137 137
@@ -281,7 +281,9 @@ int parse_php_type(char *restrict, char *restrict, void *);
281int parse_list(char *restrict, char *restrict, void *); 281int parse_list(char *restrict, char *restrict, void *);
282 282
283// cleanup 283// cleanup
284void sp_disabled_function_list_free(sp_list_node *); 284void sp_free_disabled_function(void *data);
285void sp_cookie_list_free(sp_list_node *); 285void sp_free_cookie(void *data);
286void sp_free_zstr(void *data);
287
286 288
287#endif /* SP_CONFIG_H */ 289#endif /* SP_CONFIG_H */