Fixed zval_ptr_dtor(&return_value) on uninicialized zval

This commit is contained in:
Dmitry Stogov 2005-06-08 19:51:56 +00:00
parent 87df726f05
commit cf5a6f81e3

View File

@ -729,6 +729,8 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value,
return 1;
}
RETVAL_FALSE;
switch (how) {
case PDO_FETCH_ASSOC:
case PDO_FETCH_BOTH: