input: clean-up the reported warning by static analysis 31/286931/1 accepted/tizen/7.0/unified/20230118.093750
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 16 Jan 2023 09:57:51 +0000 (18:57 +0900)
committeryunhee seo <yuni.seo@samsung.com>
Tue, 17 Jan 2023 04:44:17 +0000 (04:44 +0000)
commit259c22696fe3145f9fd25cff51179ebca794da2a
treeaa0d69cfb2610ad023a395206ec7627711f73e4b
parentd75faf025cab7b2391d74836e5901914853dcc92
input: clean-up the reported warning by static analysis

improve code reported warning by static analysis
to avoid memory leak, build warning, unexpected return value issues

Change-Id: Ic9c3435c6515e645b52cdbc5feca223f918f6443
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit 094f89dcd1555fb18ec1ff49c3503fa67f02936f)
src/input/input-dbus.c
src/input/input-device-manager.c
src/input/input-parser.c