diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2014-09-29 08:48:40 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2014-09-28 22:30:42 -0700 |
commit | cf595e84a5d7fe3c99434dac71807f82e606cec4 (patch) | |
tree | 7f38150cc21a70bc7e6ab4f8cffd1d8c8bc79e3c /xlators/cluster/afr/src/afr-self-heal-common.c | |
parent | e26b62b1a2e8ee80e025ad3bd3e841522730f695 (diff) |
cluster/afr: Fix inode leak
Change-Id: I723b65d6fcae5bd39c0daece3b2f48baf0a72166
BUG: 1145471
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/8875
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index b855f98ddf2..eeaceb13018 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.c +++ b/xlators/cluster/afr/src/afr-self-heal-common.c @@ -53,6 +53,8 @@ afr_selfheal_post_op (call_frame_t *frame, xlator_t *this, inode_t *inode, syncbarrier_wait (&local->barrier, 1); + loc_wipe (&loc); + return 0; } |