summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2018-08-13 00:06:05 -0700
committerAtin Mukherjee <amukherj@redhat.com>2018-08-14 08:57:30 +0000
commitc43a52dd105f73d322124c56a901e084233f9630 (patch)
treed227fe215a640f28a3bd69399f75462d80f95234 /xlators/mgmt/glusterd
parentb2b6ab8eff317f6a507ab23897ea6cd5c718d99a (diff)
mgmt/glusterd: Fix a memory leak in volgen
Fixes CID 1325557 Change-Id: I5e33ae19ddf4c44a49a2b3b3dea0c739bc96d3a7 updates: bz#789278 Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 99a0704004d..511e24f02f6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4438,6 +4438,7 @@ volume_volgen_graph_build_clusters_tier (volgen_graph_t *graph,
if (dup_volinfo)
glusterd_volinfo_delete (dup_volinfo);
GF_FREE (rule);
+ GF_FREE (decommissioned_children);
return ret;
}