[gtk/wip/matthiasc/shared-glyph-cache] icon cache: Avoid a double free
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/shared-glyph-cache] icon cache: Avoid a double free
- Date: Tue, 4 Jun 2019 02:53:45 +0000 (UTC)
commit 5471eb0f5437752c57857b0bf7fc95a5cc349f2c
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 4 01:38:29 2019 +0000
icon cache: Avoid a double free
gsk/gl/gskgliconcache.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gsk/gl/gskgliconcache.c b/gsk/gl/gskgliconcache.c
index cc823f496b..2ed2e568c5 100644
--- a/gsk/gl/gskgliconcache.c
+++ b/gsk/gl/gskgliconcache.c
@@ -59,10 +59,6 @@ gsk_gl_icon_cache_free (GskGLIconCache *self)
gsk_gl_image_destroy (&atlas->image, self->gl_driver);
atlas->image.texture_id = 0;
}
-
- gsk_gl_texture_atlas_free (atlas);
-
- g_free (atlas);
}
g_ptr_array_free (self->atlases, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]