X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=2bcdd212725188791493e1cccaa081844f05ba5e;hp=ced4e81b5f18490062cc04c17b075463ba8bccb6;hb=cdbe702a66e68d97885d5305278246c2630c9f10;hpb=0d925a2820b9d75b8e32c451fd400863e51e22fe diff --git a/http_functions.c b/http_functions.c index ced4e81..2bcdd21 100644 --- 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(); }