From 388a7f3ad4aa7971211e308c460121801a3c5cd6 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 3 Feb 2019 18:09:34 +0000 Subject: [PATCH] Fix leaking of root_tile FBConfig Signed-off-by: Yuxuan Shui --- src/render.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render.c b/src/render.c index 878341f..9855b32 100644 --- a/src/render.c +++ b/src/render.c @@ -1249,6 +1249,7 @@ void deinit_render(session_t *ps) { ps->damage_ring = ps->damage = NULL; #ifdef CONFIG_OPENGL + free(ps->root_tile_paint.fbcfg); glx_destroy(ps); #endif }