From: Michael Wallner Date: Thu, 22 Dec 2005 19:16:46 +0000 (+0000) Subject: - fix leak with post files X-Git-Tag: RELEASE_0_21_0~39 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=34b27dcfad5431b1c585a79733b4786b28dbd482;p=m6w6%2Fext-http - fix leak with post files --- diff --git a/http_request_object.c b/http_request_object.c index bf27110..a3b132e 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -1359,6 +1359,7 @@ PHP_METHOD(HttpRequest, addPostFile) } add_next_index_zval(new_post, entry); SET_PROP(obj, postFiles, new_post); + zval_ptr_dtor(&new_post); RETURN_TRUE; }