tony2001                Thu Dec 21 01:08:04 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main/streams       xp_socket.c 
  Log:
  MFH
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/xp_socket.c?r1=1.33.2.2.2.2&r2=1.33.2.2.2.3&diff_format=u
Index: php-src/main/streams/xp_socket.c
diff -u php-src/main/streams/xp_socket.c:1.33.2.2.2.2 
php-src/main/streams/xp_socket.c:1.33.2.2.2.3
--- php-src/main/streams/xp_socket.c:1.33.2.2.2.2       Tue Dec 19 08:58:58 2006
+++ php-src/main/streams/xp_socket.c    Thu Dec 21 01:08:04 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: xp_socket.c,v 1.33.2.2.2.2 2006/12/19 08:58:58 dmitry Exp $ */
+/* $Id: xp_socket.c,v 1.33.2.2.2.3 2006/12/21 01:08:04 tony2001 Exp $ */
 
 #include "php.h"
 #include "ext/standard/file.h"
@@ -642,6 +642,7 @@
                        if (xparam->want_errortext) {
                                spprintf(&xparam->outputs.error_text, 0, 
"local_addr context option is not a string.");
                        }
+                       efree(host);
                        return -1;
                }
                bindto = parse_ip_address_ex(Z_STRVAL_PP(tmpzval), 
Z_STRLEN_PP(tmpzval), &bindport, xparam->want_errortext, 
&xparam->outputs.error_text TSRMLS_CC);

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

Reply via email to