tony2001 Thu Dec 21 01:18:14 2006 UTC
Modified files:
/php-src/main/streams memory.c
Log:
apply correct fix (aka "oops!")
http://cvs.php.net/viewvc.cgi/php-src/main/streams/memory.c?r1=1.27&r2=1.28&diff_format=u
Index: php-src/main/streams/memory.c
diff -u php-src/main/streams/memory.c:1.27 php-src/main/streams/memory.c:1.28
--- php-src/main/streams/memory.c:1.27 Thu Dec 21 00:46:51 2006
+++ php-src/main/streams/memory.c Thu Dec 21 01:18:14 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: memory.c,v 1.27 2006/12/21 00:46:51 tony2001 Exp $ */
+/* $Id: memory.c,v 1.28 2006/12/21 01:18:14 tony2001 Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -673,7 +673,6 @@
if ((stream = php_stream_temp_create_rel(0, ~0u)) != NULL) {
/* store data */
php_stream_temp_write(stream, comma, ilen TSRMLS_CC);
- efree(comma);
php_stream_temp_seek(stream, 0, SEEK_SET, &newoffs TSRMLS_CC);
/* set special stream stuff (enforce exact mode) */
vlen = strlen(mode);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php