summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_image.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2018-04-05 11:10:43 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2018-04-05 11:10:43 +0900
commit07f7fee2d0d201c43cb1ab6fbc17aaad2a23a6ea (patch)
tree481a478fc9bd23b731b7ef6415d230a47440e62d /src/modules/evas/engines/gl_common/evas_gl_image.c
parent3bc65be44d4bacd205b8af5659b20d642f016dda (diff)
evas_gl_image: add null check
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c3
1 files changed, 2 insertions, 1 deletions
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)
745 745
746 if (im->fglyph) 746 if (im->fglyph)
747 { 747 {
748 im->gc->font_glyph_images = eina_list_remove(im->gc->font_glyph_images, im); 748 if (im->gc)
749 im->gc->font_glyph_images = eina_list_remove(im->gc->font_glyph_images, im);
749 im->fglyph->ext_dat = NULL; 750 im->fglyph->ext_dat = NULL;
750 im->fglyph->ext_dat_free = NULL; 751 im->fglyph->ext_dat_free = NULL;
751 } 752 }