{
E_Hwc *hwc;
Hwc_Window_Prop *prop;
- E_Output *output;
- tdm_output *toutput;
- hwc = hwc_window->hwc;
- EINA_SAFETY_ON_NULL_GOTO(hwc, done);
+ EHWINF("Free", NULL, hwc_window->hwc, hwc_window);
- hwc->hwc_windows = eina_list_remove(hwc->hwc_windows, hwc_window);
+ hwc = hwc_window->hwc;
+ if (hwc)
+ hwc->hwc_windows = eina_list_remove(hwc->hwc_windows, hwc_window);
e_presentation_time_container_finish(&hwc_window->presentation_container);
e_hwc_presentation_callback_list_finish(&hwc_window->pending_presentation_callbacks);
e_hwc_presentation_callback_list_finish(&hwc_window->presentation_callbacks);
- output = hwc->output;
- EINA_SAFETY_ON_NULL_GOTO(hwc->output, done);
-
- toutput = output->toutput;
- EINA_SAFETY_ON_NULL_GOTO(toutput, done);
-
if(hwc_window->prop_list)
{
EINA_LIST_FREE(hwc_window->prop_list, prop)
NULL,
NULL);
- EHWINF("Free", NULL, hwc_window->hwc, hwc_window);
-
-done:
if (hwc_window->cursor_buffer_destroy_listener.notify)
{
wl_list_remove(&hwc_window->cursor_buffer_destroy_listener.link);