From 80840b8b59f8a013d5f8da930d51c8639c2d9673 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Mon, 16 May 2011 01:40:30 +0200 Subject: fdo#35668: do not manually free parser context * reenable complex.unoxml.DOMTest testXDocumentBuilder() * do not manually free parser context, there is a shared_ptr for that --- unoxml/source/dom/documentbuilder.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'unoxml/source') diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index f950964320c8..0f240399bfed 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -316,7 +316,6 @@ namespace DOM saxex.Message = make_error_message(ctxt); saxex.LineNumber = static_cast(ctxt->lastError.line); saxex.ColumnNumber = static_cast(ctxt->lastError.int2); - xmlFreeParserCtxt(ctxt); throw saxex; } -- cgit