]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0abe9851a4ae2b05de6df39e92aa4b9035c33af2
tree37ce27f4abebf4366a0767ca0d698e4a37d8061c
parent30a00948fa012a269f74c4affc2bdb2866a17936
[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