[media] media: mem2mem: eliminate possible NULL pointer dereference
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 25 Aug 2011 10:21:21 +0000 (07:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 18:03:26 +0000 (15:03 -0300)
commita6bd62be5a3e3a2eee9c0c1d7c04cb52cff3e073
treeb0ab018a7b3fce14962ab5bbeda5d84d7307b1fa
parent1d0c86cad38678fa42f6d048a7b9e4057c8c16fc
[media] media: mem2mem: eliminate possible NULL pointer dereference

This patch removes the possible NULL pointer dereference in mem2mem
code.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-mem2mem.c