From: Seunghun Lee Date: Mon, 30 Jul 2018 09:46:16 +0000 (+0900) Subject: e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. X-Git-Tag: accepted/tizen/unified/20180807.061056~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F185600%2F2;p=platform%2Fupstream%2Fenlightenment.git e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. fix a memory leak Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331 --- diff --git a/src/bin/e_xdg_shell_v6.c b/src/bin/e_xdg_shell_v6.c index ca4993e..cfafba3 100644 --- a/src/bin/e_xdg_shell_v6.c +++ b/src/bin/e_xdg_shell_v6.c @@ -1607,8 +1607,7 @@ _e_xdg_surface_destroy(E_Xdg_Surface *exsurf) _e_xdg_shell_surface_remove(exsurf->shell, exsurf); - if (exsurf->configure_list) - eina_list_free(exsurf->configure_list); + E_FREE_LIST(exsurf->configure_list, free); if (exsurf->configure_idle) ecore_idle_enterer_del(exsurf->configure_idle); if (exsurf->commit_handler)