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

Fabio M. Di Nitto fabbione at fedoraproject.org
Thu Mar 3 07:54:03 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9499bd2e80bccb63706cdfcb2df0d65999b03e22
Commit:        9499bd2e80bccb63706cdfcb2df0d65999b03e22
Parent:        69084346f4f4fc656853578c04b039a964fdc041
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: Thu Mar 3 08:53:27 2011 +0100

config: stop leaking memory on config reload

Resolves: rhbz#681027

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