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

This commit is contained in:
Ilia Alshanetsky 2006-06-07 03:33:16 +00:00
parent e5c8f8c59b
commit a9c6e4be1e
2 changed files with 1 additions and 2 deletions

1
NEWS
View File

@ -49,6 +49,7 @@ PHP NEWS
- Added RFC2397 (data: stream) support. (Marcus)
- Fixed memory leaks in openssl streams context options (Pierre)
- Fixed handling of extremely long paths inside tempnam() function. (Ilia)
- Fixed bug #37709 (Possible crash in PDO::errorCode()). (Ilia)
- Fixed bug #37705 (Semaphore constants not available). (Ilia)
- Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia)
- Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike)

View File

@ -1049,8 +1049,6 @@ static PHP_METHOD(PDO, query)
zval_dtor(return_value);
}
PDO_HANDLE_STMT_ERR();
/* kill the object handle for the stmt here */
zval_dtor(return_value);