cluster: RHEL6 - config: stop leaking memory on config reload

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Feb 28 11:49:44 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=678661a05b1c5bb1ab81515ea97e3102d9e3f18c
Commit:        678661a05b1c5bb1ab81515ea97e3102d9e3f18c
Parent:        4eb20ad9f8e62d0739c7897d79bc1bccb94e5250
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Thu Feb 24 15:04:31 2011 +0100
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Feb 28 12:49:31 2011 +0100

config: stop leaking memory on config reload

Resolves: rhbz#680155

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 config/plugins/xml/config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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;
 }


More information about the cluster-commits mailing list