fix memory leak

This commit is contained in:
ceb33 2018-03-30 11:00:38 +02:00
parent 82e2cc7c73
commit c6d6fc7098

View File

@ -903,6 +903,7 @@ static int iohidmanager_hid_manager_set_device_matching(
free(devList);
devList = ptr;
}
free(device_array);
return 0;
}