summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/store.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/store.c b/libglusterfs/src/store.c
index f444741ef0c..74cf5459c3c 100644
--- a/libglusterfs/src/store.c
+++ b/libglusterfs/src/store.c
@@ -666,6 +666,8 @@ gf_store_iter_destroy(gf_store_iter_t *iter)
iter->filepath, ret);
GF_FREE(iter);
+ iter = NULL;
+
return ret;
}