]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 11 Sep 2017 16:53:07 +0000 (13:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:55:02 +0000 (16:55 -0300)
commit15a35ca66aaff3386f174cfd3daa4713976e6edc
tree26d66baf441e6d1cb03ae24987402df252fd8907
parenta8c779eb056e9874c6278151ade857c3ac227db9
[media] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'

If this memory allocation fails, we must release some resources, as
already done in the code below and above.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
samples/v4l/v4l2-pci-skeleton.c