summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-04-20 17:34:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-04-20 17:34:15 +0900
commit1804d460eeeb7cda9ec3ee82ebbd2ca6cfbf44cc (patch)
tree34c02c863807880a82e0f06280a851a66cc15e2f /src/modules
parentd766a765e31dbd3b7b15a55a88210afed089f8ab (diff)
Evas: Fix memory leak
Fixes CID 1293000
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index b926d2b..93521bd 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -2207,7 +2207,10 @@ eng_ector_renderer_draw(void *data, void *context EINA_UNUSED, void *surface, Ec
2207 2207
2208 if (eina_array_count(c) == 0 && 2208 if (eina_array_count(c) == 0 &&
2209 eina_array_count(clips) > 0) 2209 eina_array_count(clips) > 0)
2210 return ; 2210 {
2211 eina_array_free(c);
2212 return;
2213 }
2211 } 2214 }
2212 2215
2213 if (eina_array_count(c) == 0) 2216 if (eina_array_count(c) == 0)