Fix leaking of root_tile FBConfig
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
24370f44e6
commit
388a7f3ad4
|
@ -1249,6 +1249,7 @@ void deinit_render(session_t *ps) {
|
||||||
ps->damage_ring = ps->damage = NULL;
|
ps->damage_ring = ps->damage = NULL;
|
||||||
|
|
||||||
#ifdef CONFIG_OPENGL
|
#ifdef CONFIG_OPENGL
|
||||||
|
free(ps->root_tile_paint.fbcfg);
|
||||||
glx_destroy(ps);
|
glx_destroy(ps);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue