summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-14 14:56:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-14 14:57:32 +0100
commit62af61b8f076c00eb045dca1c46275882e17ce6b (patch)
tree3b775ff4d49e234e128a7523fd9be1cb28c27aaf /unoxml
parent14ad313a242ec8791956e3e4a9460f743c0c8d7a (diff)
fdo#57055: Re-enable call to librdf_free_world
cf. <https://bugs.freedesktop.org/show_bug.cgi?id=57055#c1> Change-Id: Ibcd55720bbd17b72a5cd0cc9fc6417195fbcdfd1
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 1e98ee5a6fcf..733b3132e0c4 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -127,13 +127,7 @@ bool isInternalContext(librdf_node *i_pNode) throw ()
// so they need to be wrapped to be usable with boost::shared_ptr.
static void safe_librdf_free_world(librdf_world *const world)
{
-#if 1
- (void)world; // leak it
-#else
- // disable this for now: it calls xmlCleanupParser, which now aborts
- // (see desktop/source/app/main.c)
if (world) { librdf_free_world(world); }
-#endif
}
static void safe_librdf_free_model(librdf_model *const model)
{