summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <chuneon.park@samsung.com>2020-04-29 13:25:28 +0900
committerHermet Park <chuneon.park@samsung.com>2020-04-29 13:27:08 +0900
commite83746cf04f560fa4694c11b60a7137392faf0cb (patch)
tree73acfa20c05ae01666e2544d9ae2dcc4f3863019
parentb850c446539bb0c344787a174eb4c6a15dc3ce4a (diff)
canvas vg: Correct order of data free.
vfd data is firstly initialized and must be freed in the last.
-rw-r--r--src/lib/evas/vg/evas_vg_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/vg/evas_vg_cache.c b/src/lib/evas/vg/evas_vg_cache.c
index e9990107ee..719ee0fd1d 100644
--- a/src/lib/evas/vg/evas_vg_cache.c
+++ b/src/lib/evas/vg/evas_vg_cache.c
@@ -315,8 +315,8 @@ evas_cache_vg_shutdown(void)
315 free(key); 315 free(key);
316 eina_list_free(vg_cache->vg_surface_keys); 316 eina_list_free(vg_cache->vg_surface_keys);
317 317
318 eina_hash_free(vg_cache->vfd_hash);
319 eina_hash_free(vg_cache->vg_entry_hash); 318 eina_hash_free(vg_cache->vg_entry_hash);
319 eina_hash_free(vg_cache->vfd_hash);
320 free(vg_cache); 320 free(vg_cache);
321 vg_cache = NULL; 321 vg_cache = NULL;
322} 322}