mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-24 18:33:52 +08:00
[client,x11] fix memory leak
This commit is contained in:
parent
9565ff4b29
commit
8822ad53c1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user