From: notaz Date: Mon, 28 Aug 2023 20:30:40 +0000 (+0300) Subject: input: fix a leak X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dd225ecd6d5a04fd8e6f16c8f8ee65ee88c6fed;p=libpicofe.git input: fix a leak --- 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; }