From 2108d136b976342505e64f46d0b7a4ccf68b7299 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 8b38fd36fe44..b5c19d0a5a40 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