removed if type=string: val is allocated for any type of data

This commit is contained in:
Georg Richter 2004-03-18 13:03:17 +00:00
parent ba7d6efe7b
commit 848f123645

View File

@ -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]) {