Re: [PATCH] Input: atmel_mxt_ts - fix double free in mxt_read_info_block

From: Dmitry Torokhov
Date: Mon Dec 13 2021 - 00:02:56 EST


On Sun, Dec 12, 2021 at 08:42:57PM +0100, José Expósito wrote:
> The "id_buf" buffer is stored in "data->raw_info_block" and freed by
> "mxt_free_object_table" in case of error.
>
> Return instead of jumping to avoid a double free.
>
> Addresses-Coverity-ID: 1474582 ("Double free")
> Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx>

Applied, thank you.

--
Dmitry