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
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 0 deletions

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
}