diff --git a/client/X11/xf_input.c b/client/X11/xf_input.c index 87f111cd2..e2520edf0 100644 --- a/client/X11/xf_input.c +++ b/client/X11/xf_input.c @@ -135,6 +135,7 @@ static BOOL register_input_events(xfContext* xfc, Window window) WLog_DBG(TAG, "%s device (id: %d) valuator %d label %s range %f - %f", dev->name, dev->deviceid, t->number, name ? name : "None", t->min, t->max); + free(name); if (t->number == 2) {