X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=2bcdd212725188791493e1cccaa081844f05ba5e;hp=ced4e81b5f18490062cc04c17b075463ba8bccb6;hb=a4b593d03ef14d9bc422cbe6ce471a7b5b8abe5d;hpb=94e87723fd916f0fe9e72f2280433b06e295bf79 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(); }