From 6bd780f10f32cbf0eeb05e538faf20e73a058525 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 4 Jul 2023 03:42:10 +0100 Subject: [PATCH] x: don't abort in release for double freeing a xrender picture Signed-off-by: Yuxuan Shui --- src/x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x.c b/src/x.c index 46af709c..1840ebb1 100644 --- a/src/x.c +++ b/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 {