diff options
Diffstat (limited to 'src/text-backend.c')
-rw-r--r-- | src/text-backend.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/text-backend.c b/src/text-backend.c index d6a6f3b3..1d549d43 100644 --- a/src/text-backend.c +++ b/src/text-backend.c @@ -790,14 +790,12 @@ bind_input_method(struct wl_client *client, if (input_method->input_method_binding != NULL) { wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "interface object already bound"); - wl_resource_destroy(resource); return; } if (text_backend->input_method.client != client) { wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "permission to bind input_method denied"); - wl_resource_destroy(resource); return; } |