MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()).

This commit is contained in:
Ilia Alshanetsky 2006-06-07 03:33:39 +00:00
parent 773fa96dfc
commit 5b40f43faa

View File

@ -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);