fix memory leak
This commit is contained in:
parent
82e2cc7c73
commit
c6d6fc7098
|
@ -903,6 +903,7 @@ static int iohidmanager_hid_manager_set_device_matching(
|
||||||
free(devList);
|
free(devList);
|
||||||
devList = ptr;
|
devList = ptr;
|
||||||
}
|
}
|
||||||
|
free(device_array);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue