summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/snapview-client/src/snapview-client.c4
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 *