mirror of
https://github.com/php/php-src.git
synced 2025-01-10 04:54:47 +08:00
MFB: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error
retrieval inside a failed query executed via query() method).
This commit is contained in:
parent
f069754ab8
commit
1e101793bb
@ -1044,9 +1044,6 @@ static PHP_METHOD(PDO, query)
|
||||
/* something broke */
|
||||
}
|
||||
|
||||
/* kill the object handle for the stmt here */
|
||||
zval_dtor(return_value);
|
||||
|
||||
RETURN_FALSE;
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user