1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

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

View file

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