iliaa Thu May 5 22:19:36 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/standard http_fopen_wrapper.c Log: Added missing bit of the previous patch. http://cvs.php.net/diff.php/php-src/ext/standard/http_fopen_wrapper.c?r1=1.88.2.2&r2=1.88.2.3&ty=u Index: php-src/ext/standard/http_fopen_wrapper.c diff -u php-src/ext/standard/http_fopen_wrapper.c:1.88.2.2 php-src/ext/standard/http_fopen_wrapper.c:1.88.2.3 --- php-src/ext/standard/http_fopen_wrapper.c:1.88.2.2 Thu May 5 22:18:22 2005 +++ php-src/ext/standard/http_fopen_wrapper.c Thu May 5 22:19:36 2005 @@ -18,7 +18,7 @@ | Wez Furlong <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.88.2.2 2005/05/06 02:18:22 iliaa Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.88.2.3 2005/05/06 02:19:36 iliaa Exp $ */ #include "php.h" #include "php_globals.h" @@ -569,7 +569,9 @@ efree(http_header_line); if (scratch) efree(scratch); - php_url_free(resource); + if (resource) { + php_url_free(resource); + } if (stream) { if (header_init) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php