cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1d25d6da795c106edacd36de13978383f4b08318

commit 1d25d6da795c106edacd36de13978383f4b08318
Author: Srivardhan Hebbar <[email protected]>
Date:   Thu Dec 25 21:37:00 2014 +0100

    eina: fix memory leak issue in Eina_Value.
    
    Summary:
    eina_inarray_free was not called. So calling it to fix the memory leak.
    
    @fix
    
    Signed-off-by: Srivardhan Hebbar <[email protected]>
    
    Reviewers: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1808
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/eina/eina_value.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eina/eina_value.c b/src/lib/eina/eina_value.c
index 4bded7c..4f65ab0 100644
--- a/src/lib/eina/eina_value.c
+++ b/src/lib/eina/eina_value.c
@@ -2390,6 +2390,7 @@ _eina_value_type_array_copy(const Eina_Value_Type *type 
EINA_UNUSED, const void
 
  error:
    _eina_value_type_array_flush_elements(d);
+   eina_inarray_free(d->array);
    return EINA_FALSE;
 }
 

-- 


Reply via email to