projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 2.4.1
[m6w6/ext-http]
/
php_http_params.c
diff --git
a/php_http_params.c
b/php_http_params.c
index 523424423d3b21ce15704d4804cae4dd73fc1daa..ce785ecbe03efef1daad18b9acb0948fc5f9a61a 100644
(file)
--- a/
php_http_params.c
+++ b/
php_http_params.c
@@
-347,7
+347,7
@@
static inline void sanitize_value(unsigned flags, char *str, size_t len, zval *z
ZVAL_COPY_VALUE(tmp, zv);
array_init(zv);
add_assoc_zval(zv, language, tmp);
ZVAL_COPY_VALUE(tmp, zv);
array_init(zv);
add_assoc_zval(zv, language, tmp);
-
S
TR_FREE(language);
+
P
TR_FREE(language);
}
}
}
}
@@
-885,7
+885,7
@@
void php_http_params_separator_free(php_http_params_token_t **separator)
php_http_params_token_t **sep = separator;
if (sep) {
while (*sep) {
php_http_params_token_t **sep = separator;
if (sep) {
while (*sep) {
-
S
TR_FREE((*sep)->str);
+
P
TR_FREE((*sep)->str);
efree(*sep);
++sep;
}
efree(*sep);
++sep;
}