diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-06-20 15:54:57 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-23 00:39:23 -0700 |
commit | a6620e3840bad41b84c590116183670cb1819667 (patch) | |
tree | c600c868a7138b47f3e17cfeacc22da7adee999f /xlators | |
parent | a55a2c5cc207a3050e1a37ccb574cc23a59d7294 (diff) |
features/snapview-client: put local back to mempool after unwind
Change-Id: I3a709a835b21edf757ee5a1cd04cd9d1c59201dc
BUG: 1111552
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/8128
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/snapview-client/src/snapview-client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/features/snapview-client/src/snapview-client.c b/xlators/features/snapview-client/src/snapview-client.c index 5ee87ad64ab..344a8c9562a 100644 --- a/xlators/features/snapview-client/src/snapview-client.c +++ b/xlators/features/snapview-client/src/snapview-client.c @@ -21,8 +21,10 @@ void svc_local_free (svc_local_t *local) { - if (local) + if (local) { loc_wipe (&local->loc); + mem_put (local); + } } xlator_t * |