diff options
author | Barak Sason Rofman <sason922@gmail.com> | 2020-07-05 13:40:23 +0300 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-07-09 04:26:14 +0000 |
commit | aab628597b012a22a1bbd71dade7e9bc2d65ce84 (patch) | |
tree | 5da2aefb2c225f09d4276900850a21f14857feeb | |
parent | 79b1992a7ee220d87b0e53ee8b3f83a436366304 (diff) |
glusterd - fixing coverity issues
Fixing double free issues
Change-Id: Ie56753196335080f32f061329644ac462998ada2
CID: 1430112, 1430122
updates: #1202
Signed-off-by: Barak Sason Rofman <bsasonro@redhat.com>
-rw-r--r-- | libglusterfs/src/store.c | 2 |
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; } |