x: don't abort in release for double freeing a xrender picture
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
2
src/x.c
2
src/x.c
@@ -537,7 +537,7 @@ void x_clear_picture_clip_region(struct x_connection *c, xcb_render_picture_t pi
|
||||
void x_free_picture(struct x_connection *c, xcb_render_picture_t p) {
|
||||
assert(p != XCB_NONE);
|
||||
auto cookie = xcb_render_free_picture(c->c, p);
|
||||
set_cant_fail_cookie(c, cookie);
|
||||
set_debug_cant_fail_cookie(c, cookie);
|
||||
}
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user