From 040c097150372feb8246a7c3d04720e6f8ff1a87 Mon Sep 17 00:00:00 2001 From: Inhong Han Date: Fri, 11 Aug 2023 15:34:39 +0900 Subject: [PATCH] Fix issue detected by static analysis tool Change-Id: I8278954b483c0f7b848c3aa3468d14790605c147 --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index c4a18bde..fb1f5669 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2481,7 +2481,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); -- 2.34.1