From: Peter Hutterer Date: Sun, 26 Apr 2015 22:56:50 +0000 (+1000) Subject: test: fix a memory leak in the touch test X-Git-Tag: 0.15.0~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=852e91bffd33117905bbb8c6ce38a2ea0432495e;p=platform%2Fupstream%2Flibinput.git test: fix a memory leak in the touch test Signed-off-by: Peter Hutterer Reviewed-By: Derek Foreman --- diff --git a/test/touch.c b/test/touch.c index ac97c52b..5c363f9e 100644 --- a/test/touch.c +++ b/test/touch.c @@ -439,6 +439,8 @@ START_TEST(fake_mt_exists) * have different capabilities */ ck_assert(libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_POINTER)); + + libinput_event_destroy(event); } END_TEST