From: Ilia Alshanetsky Date: Fri, 6 May 2005 02:20:00 +0000 (+0000) Subject: Missing bit from previous patch. X-Git-Tag: php-5.0.1b1~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b874c94d8169fdf76ac1262af3374c9805920c97;p=php Missing bit from previous patch. --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 066af3cb24..0fd2918583 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -611,7 +611,9 @@ out: efree(scratch); } - php_url_free(resource); + if (resource) { + php_url_free(resource); + } if (stream) { if (header_init) {