jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1804d460eeeb7cda9ec3ee82ebbd2ca6cfbf44cc

commit 1804d460eeeb7cda9ec3ee82ebbd2ca6cfbf44cc
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Apr 20 17:34:15 2015 +0900

    Evas: Fix memory leak
    
    Fixes CID 1293000
---
 src/modules/evas/engines/gl_generic/evas_engine.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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
 
         if (eina_array_count(c) == 0 &&
             eina_array_count(clips) > 0)
-          return ;
+          {
+             eina_array_free(c);
+             return;
+          }
      }
 
    if (eina_array_count(c) == 0)

-- 


Reply via email to