[media] smscoreapi: memory leak fix
authorRoberto Alcântara <roberto@eletronica.org>
Tue, 21 May 2013 19:32:30 +0000 (16:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 12:00:45 +0000 (09:00 -0300)
commit36b51146539c42306fd6ab1ff30cfc5a2d13c706
treef61f61e71aa3979c73e6a927c65fda6bd180a9c6
parent62d54876c511628daed2246753e2fe348da022f1
[media] smscoreapi: memory leak fix

Ensure release_firmware is called if kmalloc fails.

[mchehab@redhat.com: patch unmangled and converted from -p2 to -p1]
Signed-off-by: Roberto Alcantara <roberto@eletronica.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smscoreapi.c