summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-09 16:04:45 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-09 16:04:45 +0000
commitaa7be1a96de83871db284e4fb924e6dc0ccaed59 (patch)
treea958db33e03402878d6f7cdb67b55a0697f41d27 /src/modules
parentd8023529a1d747e97babca90a1072be5cddecbb7 (diff)
evas gl - remove freed gl image from context image list
fix asan memory mis-access @fix
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c4
1 files changed, 4 insertions, 0 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 c63e22ecc3..7d05cab15d 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -702,6 +702,10 @@ evas_gl_common_image_free(Evas_GL_Image *im)
702 im->fglyph->ext_dat = NULL; 702 im->fglyph->ext_dat = NULL;
703 im->fglyph->ext_dat_free = NULL; 703 im->fglyph->ext_dat_free = NULL;
704 } 704 }
705 else if ((im->gc) && (im->gc->shared))
706 {
707 im->gc->shared->images = eina_list_remove(im->gc->shared->images, im);
708 }
705 709
706 if (im->gc) 710 if (im->gc)
707 evas_gl_common_context_flush(im->gc); 711 evas_gl_common_context_flush(im->gc);