mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()).
This commit is contained in:
parent
773fa96dfc
commit
5b40f43faa
@ -1040,8 +1040,6 @@ static PHP_METHOD(PDO, query)
|
|||||||
/* something broke */
|
/* something broke */
|
||||||
}
|
}
|
||||||
|
|
||||||
PDO_HANDLE_STMT_ERR();
|
|
||||||
|
|
||||||
/* kill the object handle for the stmt here */
|
/* kill the object handle for the stmt here */
|
||||||
zval_dtor(return_value);
|
zval_dtor(return_value);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user