From 5dd225ecd6d5a04fd8e6f16c8f8ee65ee88c6fed Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 28 Aug 2023 23:30:40 +0300 Subject: [PATCH] input: fix a leak --- linux/in_evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/in_evdev.c b/linux/in_evdev.c index ff714ce..e046fa6 100644 --- a/linux/in_evdev.c +++ b/linux/in_evdev.c @@ -259,6 +259,7 @@ static void in_evdev_probe(const in_drv_t *drv) no_abs: if (count == 0 && !have_abs) { + free(dev->kbits); free(dev); goto skip; } -- 2.39.5