summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/marker/src/marker-quota.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 97039440eb6..6d0830cde17 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -660,12 +660,10 @@ mq_readdir_cbk (call_frame_t *frame,
&loc, dict);
offset = entry->d_off;
-
- loc_wipe (&loc);
-
newframe = NULL;
out:
+ loc_wipe (&loc);
if (dict) {
dict_unref (dict);
dict = NULL;