From 9a3969b21825838a09460acfcdf18d49db944e44 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 24 Feb 2018 05:45:13 +0100 Subject: Free allocation for backend data at exit --- evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/evdev.c b/evdev.c index 59ca8ce..ac63850 100644 --- a/evdev.c +++ b/evdev.c @@ -393,6 +393,7 @@ static int evdev_shutdown(){ libevdev_free(data->output_proto); #endif + free(data); } free(instances); -- cgit v1.2.3