summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHosang Kim <hosang12.kim@samsung.com>2019-12-30 11:23:22 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-30 11:23:22 -0500
commit9c41899a085faadaaa1d0ed1decee3457eedbc46 (patch)
tree6fb85edea8c62a25e8324f910e3685349c6d4428
parent0164162a48dc1b1febf7828193e8ea05b4865b8f (diff)
ecore_evas_buffer: Unregister input events when ecore_evas_buffer is freed
Summary: When ecore_evas_buffer is freed, input events is not unregistered. So _window_hash size is increasing. Reviewers: Hermet, cedric, raster, zmike Reviewed By: zmike Subscribers: zmike, rajeev.jnnce, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10983
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 19422366b6..390ddd4a99 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -20,6 +20,8 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
20{ 20{
21 Ecore_Evas_Engine_Buffer_Data *bdata = ee->engine.data; 21 Ecore_Evas_Engine_Buffer_Data *bdata = ee->engine.data;
22 22
23 ecore_evas_input_event_unregister(ee);
24
23 if (!bdata) return; 25 if (!bdata) return;
24 if (bdata->image) 26 if (bdata->image)
25 { 27 {