[media] cx231xx: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 7 Mar 2016 10:22:23 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 19:57:13 +0000 (16:57 -0300)
commit1254880834d08ad288b9706b5bd791dc11516e40
tree150f07a8ea7f99fcd547365fe3e62df7778b6e0a
parent54ace1cfd4358fd11112f17cc711eea234d5ab9e
[media] cx231xx: fix memory leak

When we returned on error we missed freeing p_current_fw and p_buffer.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-417.c