From 80881824238da68e0f857cc53036ab605261bcc7 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 4dc76be..21ae00b 100644 --- a/linux/in_evdev.c +++ b/linux/in_evdev.c @@ -263,6 +263,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