summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/vg/evas_vg_cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/vg/evas_vg_cache.c b/src/lib/evas/vg/evas_vg_cache.c
index 90adcaf00d..c980046ff1 100644
--- a/src/lib/evas/vg/evas_vg_cache.c
+++ b/src/lib/evas/vg/evas_vg_cache.c
@@ -276,7 +276,11 @@ evas_cache_vg_surface_key_get(Efl_Canvas_Vg_Node *root, int w, int h, int frame_
276 Eina_Strbuf *hash_key = eina_strbuf_new(); 276 Eina_Strbuf *hash_key = eina_strbuf_new();
277 eina_strbuf_append_printf(hash_key, "%p/%d/%d/%d", root, w, h, frame_idx); 277 eina_strbuf_append_printf(hash_key, "%p/%d/%d/%d", root, w, h, frame_idx);
278 const char *new_key = eina_strbuf_string_get(hash_key); 278 const char *new_key = eina_strbuf_string_get(hash_key);
279 if (!new_key) return NULL; 279 if (!new_key)
280 {
281 eina_strbuf_free(hash_key);
282 return NULL;
283 }
280 284
281 Eina_List *l; 285 Eina_List *l;
282 char *key; 286 char *key;