hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@apache.org
Subject incubator-hawq git commit: HAWQ-389. libxml2 reader instance is not freed after reading hawq-site.xml
Date Wed, 03 Feb 2016 04:39:40 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 454d66803 -> 5ed0678cd


HAWQ-389. libxml2 reader instance is not freed after reading hawq-site.xml


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/5ed0678c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/5ed0678c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/5ed0678c

Branch: refs/heads/master
Commit: 5ed0678cd8d04c7e33db8932fea16df4e5eb3c0d
Parents: 454d668
Author: YI JIN <yjin@pivotal.io>
Authored: Wed Feb 3 15:39:21 2016 +1100
Committer: YI JIN <yjin@pivotal.io>
Committed: Wed Feb 3 15:39:21 2016 +1100

----------------------------------------------------------------------
 src/backend/resourcemanager/utils/kvproperties.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5ed0678c/src/backend/resourcemanager/utils/kvproperties.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/kvproperties.c b/src/backend/resourcemanager/utils/kvproperties.c
index 0d370da..660ed9e 100644
--- a/src/backend/resourcemanager/utils/kvproperties.c
+++ b/src/backend/resourcemanager/utils/kvproperties.c
@@ -329,6 +329,8 @@ exit:
 	freeSimpleStringContent(&currentNameString);
 	freeSimpleStringContent(&currentValueString);
 
+	xmlFreeTextReader(reader);
+
 	xmlCleanupParser();
 
 	return res;


Mime
View raw message