summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mpc512x_dma.c
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2015-02-14 20:12:56 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-03-02 14:47:19 -0300
commit96df988bb935959e6380c2333e03911839079ee1 (patch)
tree04458e4958815c746886bb8b37d2217524a3fbc6 /drivers/dma/mpc512x_dma.c
parent2160abb2945831aaf50d176ef6d070bdbd19130d (diff)
downloadlinux-96df988bb935959e6380c2333e03911839079ee1.tar.bz2
[media] cx88: Fix possible leak in cx8802_probe()
In case allocation vb2_dma_sg_init_ctx() fails during cx8802_probe(), the already allocated cx8802 device structure memory is not freed in the used exit path. Thus adapt the cleanup handling accordingly. Detected by Coverity CID 1260065. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/dma/mpc512x_dma.c')
0 files changed, 0 insertions, 0 deletions