- include missing.h in http.c for static property fixup
[m6w6/ext-http] / http_functions.c
index ced4e81b5f18490062cc04c17b075463ba8bccb6..2bcdd212725188791493e1cccaa081844f05ba5e 100644 (file)
@@ -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();
        }