cvs: php-src /ext/standard http_fopen_wrapper.c
| From: | Ilia Alshanetsky | Date: | Fri, 06 May 2005 02:20:00 +0000 |
| Subject: | cvs: php-src /ext/standard http_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31745@lists.php.net to get a copy of this message | ||
iliaa Thu May 5 22:20:00 2005 EDT
Modified files:
/php-src/ext/standard http_fopen_wrapper.c
Log:
Missing bit from previous patch.
http://cvs.php.net/diff.php/php-src/ext/standard/http_fopen_wrapper.c?r1=1.94&r2=1.95&ty=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.94
php-src/ext/standard/http_fopen_wrapper.c:1.95
--- php-src/ext/standard/http_fopen_wrapper.c:1.94 Thu May 5 22:13:46 2005
+++ php-src/ext/standard/http_fopen_wrapper.c Thu May 5 22:20:00 2005
@@ -19,7 +19,7 @@
| Sara Golemon <pollita@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.94 2005/05/06 02:13:46 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.95 2005/05/06 02:20:00 iliaa Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -611,7 +611,9 @@
efree(scratch);
}
- php_url_free(resource);
+ if (resource) {
+ php_url_free(resource);
+ }
if (stream) {
if (header_init) {