mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-09-19 05:42:49 +00:00
Fix input_method_relay double allocation
- input_method_relay is allocated inside input_method_relay_create(), which leads the extra allocation to leak memory.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user