From a521d054d49cd51d0d4ddf41cab24d61105d2b64 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 11 Mar 2026 20:55:06 +1000 Subject: [PATCH] tools: fix leak of evdev_prev in libinput-record Co-Authored-by: Claude Code Part-of: --- tools/libinput-record.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libinput-record.c b/tools/libinput-record.c index 58b399cf..e3baf930 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -2806,6 +2806,7 @@ out: libinput_device_unref(d->device); free(d->devnode); libevdev_free(d->evdev); + libevdev_free(d->evdev_prev); } libinput_unref(ctx.libinput);