From aab628597b012a22a1bbd71dade7e9bc2d65ce84 Mon Sep 17 00:00:00 2001 From: Barak Sason Rofman Date: Sun, 5 Jul 2020 13:40:23 +0300 Subject: glusterd - fixing coverity issues Fixing double free issues Change-Id: Ie56753196335080f32f061329644ac462998ada2 CID: 1430112, 1430122 updates: #1202 Signed-off-by: Barak Sason Rofman --- libglusterfs/src/store.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src') 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; } -- cgit