tony2001                Thu Dec 21 00:46:51 2006 UTC

  Modified files:              
    /php-src/main/streams       memory.c 
  Log:
  fix potential leak
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/memory.c?r1=1.26&r2=1.27&diff_format=u
Index: php-src/main/streams/memory.c
diff -u php-src/main/streams/memory.c:1.26 php-src/main/streams/memory.c:1.27
--- php-src/main/streams/memory.c:1.26  Sat Nov  4 20:44:02 2006
+++ php-src/main/streams/memory.c       Thu Dec 21 00:46:51 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: memory.c,v 1.26 2006/11/04 20:44:02 rasmus Exp $ */
+/* $Id: memory.c,v 1.27 2006/12/21 00:46:51 tony2001 Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -688,6 +688,7 @@
                ts->mode = mode && mode[0] == 'r' ? TEMP_STREAM_READONLY : 0;
                ts->meta = meta;
        }
+       efree(comma);
 
        return stream;
 }

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

Reply via email to