georg Thu Mar 18 08:03:20 2004 EDT Modified files: /php-src/ext/mysqli mysqli.c Log: removed if type=string: val is allocated for any type of data http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli.c?r1=1.35&r2=1.36&ty=u Index: php-src/ext/mysqli/mysqli.c diff -u php-src/ext/mysqli/mysqli.c:1.35 php-src/ext/mysqli/mysqli.c:1.36 --- php-src/ext/mysqli/mysqli.c:1.35 Tue Mar 16 16:43:25 2004 +++ php-src/ext/mysqli/mysqli.c Thu Mar 18 08:03:17 2004 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli.c,v 1.35 2004/03/16 21:43:25 georg Exp $ + $Id: mysqli.c,v 1.36 2004/03/18 13:03:17 georg Exp $ */ #ifdef HAVE_CONFIG_H @@ -67,9 +67,7 @@ /* free temporary bind buffer */ if (type == FETCH_RESULT) { - if (bbuf.buf[i].type == IS_STRING) { - efree(bbuf.buf[i].val); - } + efree(bbuf.buf[i].val); } if (bbuf.vars[i]) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php