Fix memory leaks when using the new backends
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -461,6 +461,7 @@ static void deinit(void *backend_data, session_t *ps) {
|
||||
xcb_render_free_picture(ps->c, xd->alpha_pict[i]);
|
||||
xcb_render_free_picture(ps->c, xd->white_pixel);
|
||||
xcb_render_free_picture(ps->c, xd->black_pixel);
|
||||
free_conv(xd->shadow_kernel);
|
||||
free(xd);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user