[media] c8sectpfe: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 2 Jun 2016 13:32:55 +0000 (10:32 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 23:14:38 +0000 (20:14 -0300)
commit25f1ec2462f4afe544c9374ef4dbb4f5f0a3b701
tree2bb5b19412c13900c958da53a70f48a395fad560
parent6a91d60aba671cf8756a56d6157a9c971d2a5222
[media] c8sectpfe: fix memory leak

We have assigned memory while requesting the firmware but if the sanity
check fails then we are not releasing the firmware.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c