cedric pushed a commit to branch master.

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

commit f796f04aae894274e7819b0e4a61b4386aa9fb05
Author: se.osadchy <se.osad...@samsung.com>
Date:   Mon Jul 11 10:54:47 2016 -0700

    evas: fix work of engine on macOS.
    
    Summary: Update eng_image_free function and check of references.
    
    Reviewers: thiepha, NikaWhite, FurryMyad, raster, cedric
    
    Subscribers: raster, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4150
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/modules/evas/engines/gl_cocoa/evas_engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c 
b/src/modules/evas/engines/gl_cocoa/evas_engine.c
index dfe82da..1cd81c7 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_engine.c
+++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c
@@ -582,7 +582,7 @@ eng_image_free(void *data, void *image)
    re = (Render_Engine *)data;
    if (!image) return;
    eng_window_use(re->win);
-   evas_gl_common_image_free(image);
+   evas_gl_common_image_unref(image);
 }
 
 static void

-- 


Reply via email to