From 62af61b8f076c00eb045dca1c46275882e17ce6b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 14 Nov 2012 14:56:02 +0100 Subject: fdo#57055: Re-enable call to librdf_free_world cf. Change-Id: Ibcd55720bbd17b72a5cd0cc9fc6417195fbcdfd1 --- unoxml/source/rdf/librdf_repository.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'unoxml') 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) { -- cgit