From: Jonas Ådahl Date: Sun, 13 Jul 2014 22:04:14 +0000 (+0200) Subject: test: Remove test device from context when deleting X-Git-Tag: 0.6.0~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec0161eda336439bcd502f00fb1e3481617c3f2a;p=platform%2Fupstream%2Flibinput.git test: Remove test device from context when deleting Signed-off-by: Jonas Ådahl Reviewed-by: Peter Hutterer --- 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);