From: Inhong Han Date: Fri, 11 Aug 2023 06:34:39 +0000 (+0900) Subject: Fix issue detected by static analysis tool X-Git-Tag: accepted/tizen/unified/20240105.013022~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fupgrade_1.24;p=platform%2Fupstream%2Flibinput.git Fix issue detected by static analysis tool Change-Id: I8278954b483c0f7b848c3aa3468d14790605c147 --- diff --git a/src/evdev.c b/src/evdev.c index 813b0c81..7a894472 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2483,7 +2483,7 @@ evdev_device_create(struct libinput_seat *seat, #ifdef HAVE_INPUT_SET_DEFAULT_PROPERTY if (input_set_default_property(udev_device) < 0) - return NULL; + goto err; #endif devnode = udev_device_get_devnode(udev_device);