wez             Tue Jan  4 10:30:46 2005 EDT

  Modified files:              
    /php-src/ext/standard       streamsfuncs.c 
  Log:
  Fix #31408: memory leak in stream_socket_recvfrom
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/streamsfuncs.c?r1=1.49&r2=1.50&ty=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.49 
php-src/ext/standard/streamsfuncs.c:1.50
--- php-src/ext/standard/streamsfuncs.c:1.49    Fri Dec 24 21:02:55 2004
+++ php-src/ext/standard/streamsfuncs.c Tue Jan  4 10:30:45 2005
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.49 2004/12/25 02:02:55 wez Exp $ */
+/* $Id: streamsfuncs.c,v 1.50 2005/01/04 15:30:45 wez Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -380,6 +380,7 @@
                }
        }
 
+       efree(read_buf);
        RETURN_FALSE;
 }
 /* }}} */

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

Reply via email to