[media] tvp514x: Fix double free
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 2 May 2013 13:09:07 +0000 (10:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 10:50:13 +0000 (07:50 -0300)
commitc7e3cc3ca1ff2fe1aeffd2ba642548d79f9a73dc
tree37ce27f4abebf4366a0767ca0d698e4a37d8061c
parent9462550f66dfbbb2eb0961af2c9d2c3e000d9239
[media] tvp514x: Fix double free

The tvp514x data structure is allocated using devm_kzalloc(). Freeing it
explictly would result in a double free. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/tvp514x.c