mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
removed if type=string: val is allocated for any type of data
This commit is contained in:
parent
ba7d6efe7b
commit
848f123645
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user