LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File config_stop_leaking_memory_on_config_reload.patch of Package cluster (Project home:sschapiro:openstack:upstream)

commit 678661a05b1c5bb1ab81515ea97e3102d9e3f18c
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Thu Feb 24 15:04:31 2011 +0100

    config: stop leaking memory on config reload
    
    Resolves: rhbz#680155
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

diff --git a/config/plugins/xml/config.c b/config/plugins/xml/config.c
index 1db23da..7dcf8ba 100644
--- a/config/plugins/xml/config.c
+++ b/config/plugins/xml/config.c
@@ -142,7 +142,5 @@ fail:
 	if (doc)
 		xmlFreeDoc(doc);
 
-	xmlCleanupParser();
-
 	return err;
 }