[4suite-checkins] In 4Suite/Ft/Xml/src/domlette, files expat_module.c

Jeremy Kloth jkloth at 4suite.org
Mon Dec 18 17:36:07 MST 2006


Modified Files:
    expat_module.c

Log Message:
Free any parsing contexts left on the parser when it is free'd.

ViewCVS diff:
  http://cvs.4suite.org/viewcvs/4Suite/Ft/Xml/src/domlette/expat_module.c.diff?r1=1.113&r2=1.114
ViewCVS view:
  http://cvs.4suite.org/viewcvs/4Suite/Ft/Xml/src/domlette/expat_module.c?rev=1.114&content-type=text/vnd.viewcvs-markup

Index: expat_module.c
===================================================================
RCS file: /var/local/cvsroot/4Suite/Ft/Xml/src/domlette/expat_module.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -U2 -r1.113 -r1.114
--- expat_module.c	10 Dec 2006 22:55:48 -0000	1.113
+++ expat_module.c	19 Dec 2006 00:36:07 -0000	1.114
@@ -5104,4 +5104,7 @@
 void Expat_ParserFree(ExpatParser parser)
 {
+  if (parser->context) {
+   destroyContexts(parser);
+  }
 
   /* set after creation */


More information about the 4suite-checkins mailing list