Re: [PATCH] HID: playstation: Fix memory leak in dualshock4_get_calibration_data()
From: Markus Elfring
Date: Mon Nov 10 2025 - 12:49:35 EST
> The memory allocated for buf is not freed in the error paths when
> ps_get_report() fails. Free buf before jumping to transfer_failed label
Would an additional label become helpful for this function implementation?
Regards,
Markus