cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2d52eedf0655173926db69f89ab86965bc08e98d

commit 2d52eedf0655173926db69f89ab86965bc08e98d
Author: perepelits.m <perepelit...@samsung.com>
Date:   Mon Oct 19 11:00:22 2015 -0700

    evas: fix memory leak
    
    Summary:
    Fix of memory leak in evas_3d_utils.c
    
    @fix
    
    Reviewers: raster, Hermet, cedric
    
    Reviewed By: cedric
    
    Subscribers: artem.popov
    
    Differential Revision: https://phab.enlightenment.org/D3196
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/evas/include/evas_3d_utils.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/include/evas_3d_utils.h 
b/src/lib/evas/include/evas_3d_utils.h
index ed1e91f..413884a 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -2927,6 +2927,7 @@ evas_tangent_space_get(float *data, float *tex_data, 
float *normal_data, unsigne
 
    memcpy(*tangent, tmp_tangent, (3 * vertex_count) * sizeof(float));
    free(tmp_tangent);
+   free(plain);
 
    return;
 }

-- 


Reply via email to