fix leak sync windows of target window
Change-Id: Iedcbca7dddd290768c71d939cf6183342fc5b98c
_e_hwc_windows_target_window_free(E_Hwc_Window_Target *target_hwc_window)
{
E_Hwc_Window *hwc_window = (E_Hwc_Window *)target_hwc_window;
+ E_Hwc_Window *present_sync_window;
if (target_hwc_window->evas)
{
if (target_hwc_window->event_fd >= 0)
close(target_hwc_window->event_fd);
+ EINA_LIST_FREE(target_hwc_window->present_sync_windows, present_sync_window)
+ e_hwc_window_unref(present_sync_window);
+
if (hwc_window->queue && hwc_window->queue->tqueue)
tbm_surface_queue_destroy(hwc_window->queue->tqueue);