e_compositor: Remove superfluous destruction 94/316394/1 tizen
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 20 Aug 2024 03:44:17 +0000 (12:44 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 20 Aug 2024 23:51:18 +0000 (08:51 +0900)
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

src/bin/server/e_compositor.c

index 0a1021f..31068a9 100644 (file)
@@ -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;