summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMyoungwoon Kim <myoungwoon.kim@samsung.com>2015-01-08 08:35:49 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-08 08:35:55 -0500
commit10582235c5a04da76d82026084ea55399a56977a (patch)
tree6767ca96dca0ab5bc01c57662cc1806e4868d122 /src/modules
parent2da804f6160c4daa23bb974b8348d190503bff49 (diff)
ecore_evas_x: Free XCounter values leak.
Summary: Whenever creating a window via elm_win_add(), save netwm_sync_counter values to edata->netwm_sync_counter by ecore_x_sync_counter_new(). However, never free the values when a window has been destroyed. So this patch is for free the values in _ecore_evas_x_free(). @fix Reviewers: cedric, raster, Hermet, devilhorns Reviewed By: devilhorns Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1855
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 8f74321510..1249e1668c 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -1920,6 +1920,8 @@ _ecore_evas_x_free(Ecore_Evas *ee)
1920 _ecore_evas_x_group_leader_unset(ee); 1920 _ecore_evas_x_group_leader_unset(ee);
1921 if (edata->sync_counter) 1921 if (edata->sync_counter)
1922 ecore_x_sync_counter_free(edata->sync_counter); 1922 ecore_x_sync_counter_free(edata->sync_counter);
1923 if (edata->netwm_sync_counter)
1924 ecore_x_sync_counter_free(edata->netwm_sync_counter);
1923 if (edata->win_shaped_input) 1925 if (edata->win_shaped_input)
1924 ecore_x_window_free(edata->win_shaped_input); 1926 ecore_x_window_free(edata->win_shaped_input);
1925 ecore_event_window_unregister(ee->prop.window); 1927 ecore_event_window_unregister(ee->prop.window);