On 11/23/25 2:37 AM, Eslam Khafagy wrote:
Function dualshock4_get_calibration_data allocates memory to pointer buf .However, the function may exit prematurely due to transfer_failure in this case it does not handle freeing memory.
This patch handles memory deallocation at exit.
Thanks, Eslam!
Reviewed-by: Max Staudt max@enpas.org