From: duna.oh Date: Mon, 5 Dec 2022 03:54:39 +0000 (+0900) Subject: e_devicemgr_wl: set the list of 'dev->resources' to NULL after eina_list_free() X-Git-Tag: accepted/tizen/7.0/unified/20221214.051717~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5609e2c53a38f1eed36fe477396a69584b6ac6f;p=platform%2Fupstream%2Fenlightenment.git e_devicemgr_wl: set the list of 'dev->resources' to NULL after eina_list_free() Change-Id: If9ee0cf2500c25e4a69dfbe763d2af6d11842955 --- diff --git a/src/bin/e_devicemgr_wl.c b/src/bin/e_devicemgr_wl.c index a44a7bdcf2..bbef393bdf 100644 --- a/src/bin/e_devicemgr_wl.c +++ b/src/bin/e_devicemgr_wl.c @@ -235,7 +235,7 @@ e_devicemgr_wl_device_del(E_Devicemgr_Input_Device *dev) } } - eina_list_free(dev->resources); + dev->resources = eina_list_free(dev->resources); } void