From: Christian Engelmayer Date: Sat, 14 Feb 2015 23:12:56 +0000 (-0300) Subject: [media] cx88: Fix possible leak in cx8802_probe() X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96df988bb935959e6380c2333e03911839079ee1;p=pandora-kernel.git [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed