Free input_relay

This commit is contained in:
Silvan Jegen 2022-05-22 14:18:06 +02:00
parent 561acf650a
commit 491fa291fa

7
dwl.c
View file

@ -765,6 +765,11 @@ chvt(const Arg *arg)
wlr_session_change_vt(wlr_backend_get_session(backend), arg->ui); wlr_session_change_vt(wlr_backend_get_session(backend), arg->ui);
} }
static void
destroy_input_relay(struct dwl_input_method_relay *relay) {
free(relay);
}
void void
cleanup(void) cleanup(void)
{ {
@ -779,6 +784,8 @@ cleanup(void)
wlr_output_layout_destroy(output_layout); wlr_output_layout_destroy(output_layout);
wlr_seat_destroy(seat); wlr_seat_destroy(seat);
wl_display_destroy(dpy); wl_display_destroy(dpy);
destroy_input_relay(input_relay);
} }
void void