forked from enlightenment/efl
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
This commit is contained in:
parent
2da804f616
commit
10582235c5
|
@ -1920,6 +1920,8 @@ _ecore_evas_x_free(Ecore_Evas *ee)
|
|||
_ecore_evas_x_group_leader_unset(ee);
|
||||
if (edata->sync_counter)
|
||||
ecore_x_sync_counter_free(edata->sync_counter);
|
||||
if (edata->netwm_sync_counter)
|
||||
ecore_x_sync_counter_free(edata->netwm_sync_counter);
|
||||
if (edata->win_shaped_input)
|
||||
ecore_x_window_free(edata->win_shaped_input);
|
||||
ecore_event_window_unregister(ee->prop.window);
|
||||
|
|
Loading…
Reference in New Issue