Browse Source

Decref default_link when clearing

pull/2873/head
Sara Golemon 9 years ago
parent
commit
68e27b0763
No known key found for this signature in database GPG Key ID: DBDB397470D12172
  1. 1
      ext/pgsql/pgsql.c

1
ext/pgsql/pgsql.c

@ -1579,6 +1579,7 @@ PHP_FUNCTION(pg_close)
}
if (link == PGG(default_link)) {
zend_list_delete(link);
PGG(default_link) = NULL;
}
zend_list_close(link);

Loading…
Cancel
Save