cvs: php4(PHP_4_3) /ext/pgsql pgsql.c
| From: | Ilia Alshanetsky | Date: | Mon, 16 Dec 2002 15:30:52 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17244@lists.php.net to get a copy of this message | ||
iliaa Mon Dec 16 10:30:52 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/pgsql pgsql.c
Log:
MFH (memory leak).
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.244.2.2 php4/ext/pgsql/pgsql.c:1.244.2.3
--- php4/ext/pgsql/pgsql.c:1.244.2.2 Fri Nov 29 12:19:05 2002
+++ php4/ext/pgsql/pgsql.c Mon Dec 16 10:30:51 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.244.2.2 2002/11/29 17:19:05 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.244.2.3 2002/12/16 15:30:51 iliaa Exp $ */
#include <stdlib.h>
@@ -427,7 +427,8 @@
PHP_MSHUTDOWN_FUNCTION(pgsql)
{
UNREGISTER_INI_ENTRIES();
-
+ zend_hash_destroy(&PGG(notices));
+
return SUCCESS;
}
/* }}} */