diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-15 06:44:30 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-15 06:44:30 +0000 |
| commit | 078dfe8d57cd32a967b37e3a87390acc662c2bd4 (patch) | |
| tree | 5c3193cfb2d9a763e8953da7a10e4923bef8b21d | |
| parent | 11dbaa39d6d69bb03c554f8238e7101101d5bc80 (diff) | |
| download | php-git-078dfe8d57cd32a967b37e3a87390acc662c2bd4.tar.gz | |
Fixed a memory leak.
| -rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
