summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInhong Han <inhong1.han@samsung.com>2023-10-26 17:07:17 +0900
committerInhong Han <inhong1.han@samsung.com>2023-10-26 17:07:17 +0900
commit6acb36f25d2322c7b01a31f4efd201ea7f366b1e (patch)
tree69204b1075f2e70a1c85d2d6e187d7114d6244e0
parent107cfe790612d6140197da751b201e6160c39650 (diff)
downloadisf-6acb36f25d2322c7b01a31f4efd201ea7f366b1e.tar.gz
isf-6acb36f25d2322c7b01a31f4efd201ea7f366b1e.tar.bz2
isf-6acb36f25d2322c7b01a31f4efd201ea7f366b1e.zip
Remove unnecessary free function
Change-Id: I601cc1f192bc127b1ae4432c1a64c69592403f3a
-rw-r--r--ism/extras/wayland_immodule/wayland_imcontext.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c
index e7c772a6..ccf99604 100644
--- a/ism/extras/wayland_immodule/wayland_imcontext.c
+++ b/ism/extras/wayland_immodule/wayland_imcontext.c
@@ -1058,13 +1058,6 @@ _send_input_panel_hide_request(Ecore_IMF_Context *ctx)
}
}
-static void _conformant_area_free (void *data EINA_UNUSED, void *ev)
-{
- Ecore_Wl2_Event_Conformant_Change *e = ev;
- free(e);
- e = NULL;
-}
-
static void add_conformant_change_event(Ecore_Wl2_Window *window)
{
Ecore_Wl2_Event_Conformant_Change *ev;
@@ -1073,7 +1066,7 @@ static void add_conformant_change_event(Ecore_Wl2_Window *window)
ev->win = ecore_wl2_window_id_get(window);
ev->part_type = 1;
ev->state = 0;
- ecore_event_add(ECORE_WL2_EVENT_CONFORMANT_CHANGE, ev, _conformant_area_free, NULL);
+ ecore_event_add(ECORE_WL2_EVENT_CONFORMANT_CHANGE, ev, NULL, NULL);
}
}