From a6620e3840bad41b84c590116183670cb1819667 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 20 Jun 2014 15:54:57 +0530 Subject: features/snapview-client: put local back to mempool after unwind Change-Id: I3a709a835b21edf757ee5a1cd04cd9d1c59201dc BUG: 1111552 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/8128 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/features/snapview-client/src/snapview-client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xlators/features/snapview-client') 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 * -- cgit