Fix leaking of root_tile FBConfig

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-03 18:09:34 +00:00
parent 24370f44e6
commit 388a7f3ad4

View File

@ -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
}