From: Seunghun Lee Date: Tue, 20 Aug 2024 03:44:17 +0000 (+0900) Subject: e_compositor: Remove superfluous destruction X-Git-Tag: accepted/tizen/unified/20240822.061930~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d17e074ee32ff1ee4557a0f2a6e4bf89cd544678;p=platform%2Fupstream%2Fenlightenment.git e_compositor: Remove superfluous destruction Destroying pending.frames here is duplication. The pending.frames is cleaned up at e_comp_wl_surface_state_finish() called before the code to be removed. Change-Id: Ia1ecd8d38b7087d6f0d5c72b0d793a1b5fe19f58 --- diff --git a/src/bin/server/e_compositor.c b/src/bin/server/e_compositor.c index 0a1021f..31068a9 100644 --- a/src/bin/server/e_compositor.c +++ b/src/bin/server/e_compositor.c @@ -864,9 +864,6 @@ _e_surface_destroy(E_Surface *surface) EINA_LIST_FREE(surface->base.frames, cb) wl_resource_destroy(cb); - EINA_LIST_FREE(surface->base.pending.frames, cb) - wl_resource_destroy(cb); - if (surface->base.aux_hint.hints) { E_Comp_Wl_Aux_Hint *hint;