[media] mem2mem_testdev: Fix incorrect location of v4l2_m2m_release()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 24 Sep 2012 05:17:45 +0000 (02:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 14:50:51 +0000 (11:50 -0300)
commitb7e13ef7e61f19ecf0b5d4b7d2483ae7b9f15513
tree57e77d4c258fcc370d0415a9e942c08c9107fc4a
parentac0fe5ba7f2b81a0bc4a7b97455d26e127875393
[media] mem2mem_testdev: Fix incorrect location of v4l2_m2m_release()

v4l2_m2m_release() was placed after the return statement and outside
any of the goto labels and hence was not getting executed under the
error exit path. This patch moves it under the exit path label.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/mem2mem_testdev.c
This page took 0.025281 seconds and 5 git commands to generate.