php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64993
Patch php-5.4.16-pdo-reference.patch revision 2013-06-14 05:04 UTC by rgagnon24 at gmail dot com

Patch php-5.4.16-pdo-reference.patch for PDO MySQL Bug #64993

Patch version 2013-06-14 05:04 UTC

Return to Bug #64993 | Download this patch
Patch Revisions:

Developer: rgagnon24@gmail.com

--- ext/pdo/pdo_dbh.c.orig	2013-06-08 06:16:44.000000000 +0000
+++ ext/pdo/pdo_dbh.c	2013-06-08 07:00:54.000000000 +0000
@@ -1148,8 +1148,8 @@ static PHP_METHOD(PDO, query)
 		PDO_HANDLE_STMT_ERR();
 	} else {
 		PDO_HANDLE_DBH_ERR();
-		zval_dtor(return_value);
 	}
+	zval_dtor(return_value);
 
 	RETURN_FALSE;
 }
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 04:01:28 2024 UTC