V4L/DVB: media/mem2mem: dereferencing free memory
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 05:58:57 +0000 (02:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:13 +0000 (12:59 -0300)
commit16ee9bb100340f9f775ab334acb645f54642f312
tree09dab848ac2864d5d76d714a67a01d85ed545a9b
parenta7b39036cfd1d3f868a6745e40bc99b2a8650bad
V4L/DVB: media/mem2mem: dereferencing free memory

We dereferenced "ctx" on the error path.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mem2mem_testdev.c