aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2018-02-24 05:45:13 +0100
committercbdev <cb@cbcdn.com>2018-02-24 05:45:13 +0100
commit9a3969b21825838a09460acfcdf18d49db944e44 (patch)
tree1f4efc61813b2535582106437241da9ad44c6725
parent7e958ddb8aeb439935dbc4aa7c4d99bd40f74c18 (diff)
downloadmidimonster-9a3969b21825838a09460acfcdf18d49db944e44.tar.gz
midimonster-9a3969b21825838a09460acfcdf18d49db944e44.tar.bz2
midimonster-9a3969b21825838a09460acfcdf18d49db944e44.zip
Free allocation for backend data at exit
-rw-r--r--evdev.c1
1 files changed, 1 insertions, 0 deletions
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);