tools: fix leak of evdev_prev in libinput-record

Co-Authored-by: Claude Code <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1444>
This commit is contained in:
Peter Hutterer 2026-03-11 20:55:06 +10:00 committed by Marge Bot
parent f86d5ab2ab
commit a521d054d4

View file

@ -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);