diff --git a/src/text-backend.c b/src/text-backend.c index 6c7430c..4521a22 100644 --- a/src/text-backend.c +++ b/src/text-backend.c @@ -794,6 +794,9 @@ input_method_notifier_destroy(struct wl_listener *listener, void *data) wl_global_destroy(input_method->input_method_global); wl_list_remove(&input_method->destroy_listener.link); + if (input_method->input_method_binding) + wl_resource_destroy(input_method->input_method_binding); + free(input_method); }