cvs: php4 /ext/xml xml.c

From: Date: Thu, 08 May 2003 15:07:26 +0000
Subject: cvs: php4 /ext/xml xml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20789@lists.php.net to get a copy of this message
moriyoshi Thu May 8 11:07:26 2003 EDT Modified files: /php4/ext/xml xml.c Log: Fixed memleak when the libxml compat layer is used. Index: php4/ext/xml/xml.c diff -u php4/ext/xml/xml.c:1.120 php4/ext/xml/xml.c:1.121 --- php4/ext/xml/xml.c:1.120 Wed May 7 11:21:31 2003 +++ php4/ext/xml/xml.c Thu May 8 11:07:26 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xml.c,v 1.120 2003/05/07 15:21:31 moriyoshi Exp $ */ +/* $Id: xml.c,v 1.121 2003/05/08 15:07:26 moriyoshi Exp $ */ #define IS_EXT_MODULE @@ -245,7 +245,10 @@ PHP_RSHUTDOWN_FUNCTION(xml) { - return SUCCESS; +#ifdef LIBXML_EXPAT_COMPAT + xmlCleanupParser(); +#endif + return SUCCESS; }

« previous php.cvs (#20789) next »