From: Ilia Alshanetsky Date: Sun, 15 Dec 2002 06:44:30 +0000 (+0000) Subject: Fixed a memory leak. X-Git-Tag: PHP_5_0_dev_before_13561_fix~716 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=078dfe8d57cd32a967b37e3a87390acc662c2bd4;p=php Fixed a memory leak. --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index e9cf362857..f399271b1f 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -447,7 +447,7 @@ PHP_RINIT_FUNCTION(pgsql) PHP_RSHUTDOWN_FUNCTION(pgsql) { /* clean up notice messages */ - zend_hash_clean(&PGG(notices)); + zend_hash_destroy(&PGG(notices)); /* clean up persistent connection */ zend_hash_apply(&EG(persistent_list), (apply_func_t) _rollback_transactions TSRMLS_CC); return SUCCESS;