*** memleakfixparser.c 2008-01-23 22:26:23.000000000 -0800 --- parser.c 2008-01-10 22:36:20.000000000 -0800 *************** xmlParseElementChildrenContentDecl (xmlP *** 5332,5339 **** } } else { xmlFatalErr(ctxt, XML_ERR_ELEMCONTENT_NOT_FINISHED, NULL); - if ((last != NULL) && (last != ret)) - xmlFreeDocElementContent(ctxt->myDoc, last); if (ret != NULL) xmlFreeDocElementContent(ctxt->myDoc, ret); return(NULL); --- 5332,5337 ----