diff options
author | Nikita Popov <nikic@php.net> | 2014-04-23 22:33:38 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-04-23 22:33:38 +0200 |
commit | d2e45b05c7734181ece641d8cb20f165c3122ddc (patch) | |
tree | 69c3b2218e395faa02eb3c3e29d5b50882f1a3b7 | |
parent | c98d373eb62df9abbfe0cccb6d20c5e00745e003 (diff) | |
download | php-git-d2e45b05c7734181ece641d8cb20f165c3122ddc.tar.gz |
Small zts fix
-rw-r--r-- | ext/pdo/pdo_dbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 06dcd1ecc6..dd26a98ce4 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 */ |