e_devicemgr_wl: set the list of 'dev->resources' to NULL after eina_list_free() 45/285045/1
authorduna.oh <duna.oh@samsung.com>
Mon, 5 Dec 2022 03:54:39 +0000 (12:54 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 5 Dec 2022 08:18:00 +0000 (17:18 +0900)
Change-Id: If9ee0cf2500c25e4a69dfbe763d2af6d11842955

src/bin/e_devicemgr_wl.c

index a44a7bd..bbef393 100644 (file)
@@ -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