bjori Mon Apr 23 16:32:37 2007 UTC Modified files: /php-src/ext/standard http_fopen_wrapper.c Log: Plug leak http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.124&r2=1.125&diff_format=u Index: php-src/ext/standard/http_fopen_wrapper.c diff -u php-src/ext/standard/http_fopen_wrapper.c:1.124 php-src/ext/standard/http_fopen_wrapper.c:1.125 --- php-src/ext/standard/http_fopen_wrapper.c:1.124 Sun Jan 14 14:37:16 2007 +++ php-src/ext/standard/http_fopen_wrapper.c Mon Apr 23 16:32:37 2007 @@ -19,7 +19,7 @@ | Sara Golemon <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.124 2007/01/14 14:37:16 bjori Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.125 2007/04/23 16:32:37 bjori Exp $ */ #include "php.h" #include "php_globals.h" @@ -179,6 +179,7 @@ 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; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php