evas/gl_common: Fix memory leak for font glyph extension image
authorDongyeon Kim <dy5.kim@samsung.com>
Thu, 1 Oct 2015 01:05:28 +0000 (10:05 +0900)
committerDongyeon Kim <dy5.kim@samsung.com>
Thu, 1 Oct 2015 01:05:28 +0000 (10:05 +0900)
commitb6649f6c6e18aebd0e8a7a8db8e0df931129b0cf
treed0238a755b3e670210c86084e5ea03b9ad234068
parentc2132a0666daf3d6dd99e710f8a7f100643fe731
evas/gl_common: Fix memory leak for font glyph extension image

Evas_GL_Image created for font glyphs in evas_common_font_rgba_draw
is sometimes freed after Evas_Engine_GL_Context is freed.
Since gc is already freed, pt_unref returns and leaves pt behind.
src/modules/evas/engines/gl_common/evas_gl_texture.c