1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-14 17:53:25 -04:00

core: fix leak of argb_fbconfig

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-11-02 18:43:12 +00:00
parent e3582cd996
commit c9f75a53d9
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

View file

@ -2226,6 +2226,8 @@ static void session_destroy(session_t *ps) {
unredirect(ps);
}
free(ps->argb_fbconfig);
file_watch_destroy(ps->loop, ps->file_watch_handle);
ps->file_watch_handle = NULL;