diff options
| author | Sara Golemon <pollita@php.net> | 2017-10-24 11:38:24 -0400 |
|---|---|---|
| committer | Sara Golemon <pollita@php.net> | 2017-10-24 11:38:24 -0400 |
| commit | d0d7db8b3f543aa3be0667998e3201c2d55f3d09 (patch) | |
| tree | 8d99edf907abcbcf04c6fd7b8b6293899cb418e7 /ext/pgsql | |
| parent | c04617aa617a666b7f73ba73530723cf999e980f (diff) | |
| parent | 53fe84bfcc3959b38789d132ddad998afd5be014 (diff) | |
| download | php-git-d0d7db8b3f543aa3be0667998e3201c2d55f3d09.tar.gz | |
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Decref default_link when clearing
Diffstat (limited to 'ext/pgsql')
| -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 681282e32d..c93fdf2e72 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1571,6 +1571,7 @@ PHP_FUNCTION(pg_close) } if (link == PGG(default_link)) { + zend_list_delete(link); PGG(default_link) = NULL; } zend_list_close(link); |
