From d16036e6902a7587d2c93b860b72b5e7e544a3be Mon Sep 17 00:00:00 2001 From: julmajustus Date: Fri, 18 Sep 2026 22:02:03 +0300 Subject: [PATCH] Fix input_method_relay double allocation - input_method_relay is allocated inside input_method_relay_create(), which leads the extra allocation to leak memory. --- dwl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dwl.c b/dwl.c index dada453..4cfd0fd 100644 --- a/dwl.c +++ b/dwl.c @@ -2814,7 +2814,6 @@ setup(void) input_method_manager = wlr_input_method_manager_v2_create(dpy); text_input_manager = wlr_text_input_manager_v3_create(dpy); - input_method_relay = ecalloc(1, sizeof(*input_method_relay)); input_method_relay = input_method_relay_create(); /* Make sure XWayland clients don't connect to the parent X server,