diff --git a/test/litest.c b/test/litest.c index 524b5456..c058b6be 100644 --- a/test/litest.c +++ b/test/litest.c @@ -601,6 +601,7 @@ litest_delete_device(struct litest_device *d) return; libinput_device_unref(d->libinput_device); + libinput_path_remove_device(d->libinput_device); if (d->owns_context) libinput_unref(d->libinput); libevdev_free(d->evdev);