summaryrefslogtreecommitdiff
path: root/src/lib/evas/vg/evas_vg_cache.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-18 21:51:54 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-18 21:52:42 +0900
commit518d9b264999d9a4a5c65d2593e449271b097974 (patch)
tree01ef56586ca563ec92ad7a5ac00b09b767487a02 /src/lib/evas/vg/evas_vg_cache.c
parent0ed64caa360db326d6dae041701e92633498bec6 (diff)
evas vg: fix memory leak.
Diffstat (limited to 'src/lib/evas/vg/evas_vg_cache.c')
-rw-r--r--src/lib/evas/vg/evas_vg_cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/vg/evas_vg_cache.c b/src/lib/evas/vg/evas_vg_cache.c
index 2ef31bded2..90adcaf00d 100644
--- a/src/lib/evas/vg/evas_vg_cache.c
+++ b/src/lib/evas/vg/evas_vg_cache.c
@@ -293,6 +293,9 @@ evas_cache_vg_surface_key_get(Efl_Canvas_Vg_Node *root, int w, int h, int frame_
293 //New key comes. 293 //New key comes.
294 key = eina_strbuf_string_steal(hash_key); 294 key = eina_strbuf_string_steal(hash_key);
295 vg_cache->vg_surface_keys = eina_list_append(vg_cache->vg_surface_keys, key); 295 vg_cache->vg_surface_keys = eina_list_append(vg_cache->vg_surface_keys, key);
296
297 eina_strbuf_free(hash_key);
298
296 return (void *) key; 299 return (void *) key;
297} 300}
298 301