[Libreoffice-commits] .: unoxml/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 14 05:57:55 PST 2012


 unoxml/source/rdf/librdf_repository.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 62af61b8f076c00eb045dca1c46275882e17ce6b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 14 14:56:02 2012 +0100

    fdo#57055: Re-enable call to librdf_free_world
    
    cf. <https://bugs.freedesktop.org/show_bug.cgi?id=57055#c1>
    
    Change-Id: Ibcd55720bbd17b72a5cd0cc9fc6417195fbcdfd1

diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 1e98ee5..733b313 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)
 {


More information about the Libreoffice-commits mailing list