projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- don't copy the refcount of the passed in value -- fixes remaining mem-leaks of...
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index ced4e81b5f18490062cc04c17b075463ba8bccb6..2bcdd212725188791493e1cccaa081844f05ba5e 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-679,6
+679,7
@@
PHP_FUNCTION(http_parse_message)
if (msg = http_message_parse(message, message_len)) {
object_init(return_value);
http_message_tostruct_recursive(msg, return_value);
+ http_message_free(&msg);
} else {
RETURN_NULL();
}