aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/evdev.c')
-rw-r--r--backends/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/evdev.c b/backends/evdev.c
index d2eeba8..659dc77 100644
--- a/backends/evdev.c
+++ b/backends/evdev.c
@@ -519,7 +519,7 @@ static int evdev_shutdown(size_t n, instance** inst){
#endif
data->relative_axes = 0;
free(data->relative_axis);
- free(data);
+ free(inst[u]->impl);
}
fprintf(stderr, "evdev backend shut down\n");