summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2014-07-07 14:36:18 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-14 10:30:31 -0700
commitf924f8e28b2d4753e4c4bc89a83d4ab330205de2 (patch)
treec697384cbbeda8c02fd33c14186a392986bbe570 /xlators
parentfc84c5af7b5515673f51a47f671738914c7c3530 (diff)
glusterd: Fix for resource leak coverity bug 1223045.
Change-Id: I96261e7f5cd7b5550d3100750c80190dd932a8ab BUG: 789278 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/8252 Reviewed-by: Avra Sengupta <asengupt@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
index cd0d3eb26eb..58e611d20dc 100644
--- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c
+++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
@@ -3884,6 +3884,7 @@ glusterd_update_fstype (char *orig_brick_path,
ret = 0;
out:
+ GF_FREE (mnt_pt);
return ret;
}