devicemgr: fix to use strdup() instead of eina_stringshare_add/del() 59/272759/1
authorduna.oh <duna.oh@samsung.com>
Thu, 24 Mar 2022 01:20:59 +0000 (10:20 +0900)
committerduna.oh <duna.oh@samsung.com>
Thu, 24 Mar 2022 01:38:53 +0000 (10:38 +0900)
commita92d14eb53768e221719ffab4272cd1a137232ab
treefbba7bdf18c5d4a945a710aeae69c90d7c3daf34
parentea35a9ba884bb0c3a141124fa546d45374ba2cf6
devicemgr: fix to use strdup() instead of eina_stringshare_add/del()

Since the 'identifier' variable is a 'char *' type, strdup() and free()
should be used to avoid memory corruption.

Change-Id: I8f4121ae37a2fccf7cb7d9c44adc35c1235e121d
src/bin/e_devicemgr_input.c
src/bin/e_devicemgr_inputgen.c