diff options
author | Jouni Ahto <jah@php.net> | 2000-06-04 23:06:11 +0000 |
---|---|---|
committer | Jouni Ahto <jah@php.net> | 2000-06-04 23:06:11 +0000 |
commit | d5d6c795841281c003e9687702c852ed72d037bc (patch) | |
tree | a35bb1093748a1f95f49831d20688dd840a30298 | |
parent | 1c36e3472f17fe18cd8afe2192cca7ab5d56e02d (diff) | |
download | php-git-d5d6c795841281c003e9687702c852ed72d037bc.tar.gz |
(pg_connect) Missed adding reference to link.
-rw-r--r-- | ext/pgsql/pgsql.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index c0d11b9e57..01fb17f880 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -406,6 +406,7 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) } efree(hashed_details); PGG(default_link)=return_value->value.lval; + zend_list_addref(return_value->value.lval); } |