On Sun, Jan 15, 2023 at 8:35 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
If mbox_request_channel_byname() fails, the memory allocated a few lines
above still need to be freed before going to the error handling path.
Fixes: 046326989a18 ("firmware: imx: Save channel name for further use")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Good catch.
Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxx>