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 <[EMAIL PROTECTED]>                              |
    +----------------------------------------------------------------------+
  */
-/* $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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to