]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx231xx: Fix memory leak
authorJean-Baptiste Theou <jtheou@adeneo-embedded.us>
Fri, 8 Jan 2016 22:02:03 +0000 (20:02 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 10:00:47 +0000 (08:00 -0200)
commite49847d986c934a2b4ab95480eaa60e33179b239
tree7776bc1d34e1ef80d7d048e739b04247a6da06f0
parent83fc6f740864eb1a7a2cee64c2c3b0c9505c3f4c
[media] cx231xx: Fix memory leak

dma_area needs to be freed when the device is closed.

Based on em23xx-audio.c

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-audio.c