com php-src: Small zts fix: ext/pdo/pdo_dbh.c

From: Date: Wed, 23 Apr 2014 20:33:38 +0000
Subject: com php-src: Small zts fix: ext/pdo/pdo_dbh.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77305@lists.php.net to get a copy of this message
Commit: d2e45b05c7734181ece641d8cb20f165c3122ddc Author: Nikita Popov <nikic@php.net> Wed, 23 Apr 2014 22:33:38 +0200 Parents: c98d373eb62df9abbfe0cccb6d20c5e00745e003 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d2e45b05c7734181ece641d8cb20f165c3122ddc Log: Small zts fix Changed paths: M ext/pdo/pdo_dbh.c Diff: diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 06dcd1e..dd26a98 100644 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -572,7 +572,7 @@ static PHP_METHOD(PDO, prepare) stmt->default_fetch_type = dbh->default_fetch_type; stmt->dbh = dbh; /* give it a reference to me */ - Z_ADDREF_P(getThis() TSRMLS_CC); + Z_ADDREF_P(getThis()); php_pdo_dbh_addref(dbh TSRMLS_CC); ZVAL_COPY_VALUE(&stmt->database_object_handle, getThis()); /* we haven't created a lazy object yet */

« previous php.cvs (#77305) next »