From: Hannes Magnusson Date: Mon, 23 Apr 2007 16:32:37 +0000 (+0000) Subject: Plug leak X-Git-Tag: RELEASE_1_2_0~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d1f1881932f062aee6c3c3bf8d159a81acc8bea;p=php Plug leak --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index b646ac2c03..14ead12cde 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -179,6 +179,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, if (strpbrk(mode, "awx+")) { php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "HTTP wrapper does not support writeable connections."); + php_url_free(resource); return NULL; }