From 1c726640df9248011266630b074378a98f914239 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 30 Jul 2018 18:46:16 +0900 Subject: [PATCH] e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. fix a memory leak Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331 --- src/bin/e_xdg_shell_v6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_xdg_shell_v6.c b/src/bin/e_xdg_shell_v6.c index ca4993ef42..cfafba359c 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) -- 2.34.1