aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJan Düpmeier <j.duepmeier@googlemail.com>2017-11-29 19:40:39 +0100
committerJan Düpmeier <j.duepmeier@googlemail.com>2017-11-29 19:40:39 +0100
commit99305b4ece22ce8c69729ffbf0da4d9b5f8daeae (patch)
tree5b3a1c0e96c4e6692205ff2af9e728b56f19d72e
parent4cac36ce387662c7ec31cc6c0a05edcfcfdea042 (diff)
downloadmidimonster-99305b4ece22ce8c69729ffbf0da4d9b5f8daeae.tar.gz
midimonster-99305b4ece22ce8c69729ffbf0da4d9b5f8daeae.tar.bz2
midimonster-99305b4ece22ce8c69729ffbf0da4d9b5f8daeae.zip
fixing missing frees
-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;