mirror of
https://github.com/yshui/picom.git
synced 2024-11-03 04:33:49 -05:00
Fix non-opengl build
Oops Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
c9f75a53d9
commit
248bffede7
1 changed files with 3 additions and 0 deletions
|
@ -2226,7 +2226,10 @@ static void session_destroy(session_t *ps) {
|
||||||
unredirect(ps);
|
unredirect(ps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_OPENGL
|
||||||
free(ps->argb_fbconfig);
|
free(ps->argb_fbconfig);
|
||||||
|
ps->argb_fbconfig = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
file_watch_destroy(ps->loop, ps->file_watch_handle);
|
file_watch_destroy(ps->loop, ps->file_watch_handle);
|
||||||
ps->file_watch_handle = NULL;
|
ps->file_watch_handle = NULL;
|
||||||
|
|
Loading…
Reference in a new issue