From: Georg Richter Date: Thu, 18 Mar 2004 13:03:17 +0000 (+0000) Subject: removed if type=string: val is allocated for any type of data X-Git-Tag: php-5.0.0RC1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=848f1236453e16932a1670de1fe7d3063376be96;p=php removed if type=string: val is allocated for any type of data --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index e8b1a9d9c8..8404618a3e 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -67,9 +67,7 @@ void php_free_stmt_bind_buffer(BIND_BUFFER bbuf, int type) /* 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]) {