cvs: php-src /ext/standard file.c

From: Date: Thu, 21 Dec 2006 00:00:11 +0000
Subject: cvs: php-src /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42243@lists.php.net to get a copy of this message
tony2001 Thu Dec 21 00:00:11 2006 UTC Modified files: /php-src/ext/standard file.c Log: fix double free http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.478&r2=1.479&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.478 php-src/ext/standard/file.c:1.479 --- php-src/ext/standard/file.c:1.478 Wed Dec 20 22:42:59 2006 +++ php-src/ext/standard/file.c Thu Dec 21 00:00:11 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.478 2006/12/20 22:42:59 tony2001 Exp $ */ +/* $Id: file.c,v 1.479 2006/12/21 00:00:11 tony2001 Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -2237,7 +2237,6 @@ /* Types converted, free storage */ efree(delim); efree(enc); - efree(buffer); } else { /* Binary stream with binary delimiter/enclosures/prefetch */ php_fgetcsv_ex(stream, delim, delim_len, enc, enc_len, "\\", 1, buffer, buffer_len, return_value TSRMLS_CC);

« previous php.cvs (#42243) next »