aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2019-05-27 18:10:50 +0000
committerGreg Kroah-Hartman <[email protected]>2019-06-03 12:24:57 +0000
commit2649939ad750db48f94d3cdab26e3a0115672e6b (patch)
tree5a4b87456663b65e09f9af8e8d5da40f33141504 /arch/powerpc/lib/code-patching.c
parentLinux 5.2-rc3 (diff)
downloadkernel-2649939ad750db48f94d3cdab26e3a0115672e6b.tar.gz
kernel-2649939ad750db48f94d3cdab26e3a0115672e6b.zip
usb: typec: ucsi: ccg: fix memory leak in do_flash
In case memory resources for *fw* were successfully allocated, release them before return. Addresses-Coverity-ID: 1445499 ("Resource leak") Fixes: 5c9ae5a87573 ("usb: typec: ucsi: ccg: add firmware flashing support") Signed-off-by: Gustavo A. R. Silva <[email protected]> Acked-by: Heikki Krogerus <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions