summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-12-16 15:30:51 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-12-16 15:30:51 +0000
commit5b71dbb4e2022e9c2c5808a98d40258080d40a7c (patch)
tree23573812ef7854ea7e6fb8c55779587b4e2d165f
parent375cf41b62419a93975d1676a1f3fc7dd7056b8d (diff)
downloadphp-git-5b71dbb4e2022e9c2c5808a98d40258080d40a7c.tar.gz
MFH (memory leak).
-rw-r--r--ext/pgsql/pgsql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 2e5ef8fcd8..d470226b96 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -427,7 +427,8 @@ PHP_MINIT_FUNCTION(pgsql)
PHP_MSHUTDOWN_FUNCTION(pgsql)
{
UNREGISTER_INI_ENTRIES();
-
+ zend_hash_destroy(&PGG(notices));
+
return SUCCESS;
}
/* }}} */