[PATCH libinput 1/8] test: fix a memory leak in the touch test

Hans de Goede hdegoede at redhat.com
Tue Apr 28 00:47:27 PDT 2015


Hi,

The entire set looks good to me and is:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


On 27-04-15 07:52, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>   test/touch.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/test/touch.c b/test/touch.c
> index ac97c52..5c363f9 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
>
>


More information about the wayland-devel mailing list