projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add test
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 90350e2d23dec09c880fec6048522a0200ba5806..f7ecd7af76f8b087e237c0e170db9d0c8a1f7eae 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-985,6
+985,7
@@
PHP_FUNCTION(http_match_request_header)
if (msg) { \
RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \
http_message_free(&msg); \
if (msg) { \
RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \
http_message_free(&msg); \
+ phpstr_dtor(&response); \
return; \
} \
} else { \
return; \
} \
} else { \