woohyun pushed a commit to branch master.

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

commit 07f7fee2d0d201c43cb1ab6fbc17aaad2a23a6ea
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Thu Apr 5 11:10:43 2018 +0900

    evas_gl_image: add null check
---
 src/modules/evas/engines/gl_common/evas_gl_image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c 
b/src/modules/evas/engines/gl_common/evas_gl_image.c
index 87f2a20a6b..11ec705b9c 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -745,7 +745,8 @@ evas_gl_common_image_free(Evas_GL_Image *im)
 
    if (im->fglyph)
      {
-        im->gc->font_glyph_images = 
eina_list_remove(im->gc->font_glyph_images, im);
+        if (im->gc)
+          im->gc->font_glyph_images = 
eina_list_remove(im->gc->font_glyph_images, im);
         im->fglyph->ext_dat = NULL;
         im->fglyph->ext_dat_free = NULL;
      }

-- 


Reply via email to