summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-11-15 07:58:35 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-11-14 23:20:11 -0800
commit1a5d5c592e902191bfa091ec9169aa43299a7d0f (patch)
tree3c93a23af068752e0441af9abd36de6bb5618128 /Documentation
parent9f2a4342a8bf24c644204311f0cf154f78489b53 (diff)
remoteproc: qcom: Fix error handling paths in order to avoid memory leaks
In case of error returned by 'q6v5_xfer_mem_ownership', we must free some resources before returning. In 'q6v5_mpss_init_image()', add a new label to undo a previous 'dma_alloc_attrs()'. In 'q6v5_mpss_load()', re-use the already existing error handling code to undo a previous 'request_firmware()', as already done in the other error handling paths of the function. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions