]> granicus.if.org Git - php/commitdiff
Fixed a memory leak.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 15 Dec 2002 06:44:30 +0000 (06:44 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 15 Dec 2002 06:44:30 +0000 (06:44 +0000)
ext/pgsql/pgsql.c

index e9cf362857235808a31d13a5d899fdbb0ad3f78d..f399271b1f240e9526462606592ce85988524b78 100644 (file)
@@ -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;