From 1e101793bb5c6866d283ad11415bab70b9742777 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 21 Aug 2006 16:54:05 +0000 Subject: [PATCH] MFB: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval inside a failed query executed via query() method). --- ext/pdo/pdo_dbh.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index b0b1c2fd6c5..f6558f7fa79 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -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; } /* }}} */