Fix memory leak in destroying text input resource 93/298393/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 6 Sep 2023 08:44:50 +0000 (17:44 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 6 Sep 2023 09:57:05 +0000 (18:57 +0900)
Change-Id: Id2f4b4c7dbe4cf01a64a8e167fb95a3618a48290
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_main.c

index d52d8a2..c5ced94 100644 (file)
@@ -1887,6 +1887,8 @@ _e_text_input_cb_destroy(struct wl_client *client, struct wl_resource *resource)
 
    if (_context_created)
      _e_text_input_deactivate(text_input, input_method, EINA_FALSE);
+
+   wl_resource_destroy(resource);
 }
 
 static const struct wl_text_input_interface _e_text_input_implementation = {