summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-09-02 10:10:02 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:14 +0900
commita7b3f7efd3bf7291109131db7fb694c8eef72248 (patch)
treea30558b94be0e12da62a3cc0754666fd64ba271d /src/lib/evas/cserve2
parente06111493493c7dcf2730f3f4a59f62ea68e7c09 (diff)
evas/cserve2: Reset pointers to NULL after close
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index af5eff8cce..1538b4967b 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -2201,6 +2201,8 @@ _shared_index_remap_check(Shared_Index *si, int elemsize)
2201 eina_file_map_free(si->f, si->data); 2201 eina_file_map_free(si->f, si->data);
2202 eina_file_close(si->f); 2202 eina_file_close(si->f);
2203 eina_hash_free(si->entries_by_hkey); 2203 eina_hash_free(si->entries_by_hkey);
2204 si->f = NULL;
2205 si->data = NULL;
2204 memset(si, 0, sizeof(*si)); 2206 memset(si, 0, sizeof(*si));
2205 } 2207 }
2206 return EINA_FALSE; 2208 return EINA_FALSE;