Hi Andrzej,
Thank you for the patch.
On Friday 28 February 2014 10:32:23 Andrzej Pietrasiewicz wrote:
> If uvc->control_buf is successfuly allocated but uvc->control_req
> is not, uvc->control_buf is not freed in the error recovery path.
> With this patch applied uvc->control_buf is freed uncondi
On 02/28/2014 10:32 AM, Andrzej Pietrasiewicz wrote:
> If uvc->control_buf is successfuly allocated but uvc->control_req
> is not, uvc->control_buf is not freed in the error recovery path.
> With this patch applied uvc->control_buf is freed unconditionally;
> if it happens to be NULL kfree on it is
If uvc->control_buf is successfuly allocated but uvc->control_req
is not, uvc->control_buf is not freed in the error recovery path.
With this patch applied uvc->control_buf is freed unconditionally;
if it happens to be NULL kfree on it is safe anyway.
Signed-off-by: Andrzej Pietrasiewicz
---
dri