diff options
author | Christophe JAILLET <[email protected]> | 2023-01-15 19:13:46 +0100 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2023-09-19 14:12:04 +0200 |
commit | e527adfb9b7d9d05a4577c116519e59a2bda4b05 (patch) | |
tree | 8c598f80b805924c7cf171952c4ce3e1b21930f7 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
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 <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions