aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--uinput.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uinput.c b/uinput.c
index 2ef6f0f..cf86959 100644
--- a/uinput.c
+++ b/uinput.c
@@ -475,6 +475,11 @@ static int backend_shutdown() {
close(data->fd_out);
data->fd_out = -1;
}
+
+ free(data->events);
+ free(data->name);
+ free(data->device_path);
+ free(data);
}
free(instances);
return 0;