[client,x11] fix memory leak

This commit is contained in:
Armin Novak 2023-07-03 09:55:45 +02:00 committed by akallabeth
parent 9565ff4b29
commit 8822ad53c1

View File

@ -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)
{