mmc: possible leak in mmc_read_ext_csd
commit00cedfa67b3ab1588e2665eabd9843a3d8dd1dfc
authorFlorin Malita <fmalita@gmail.com>
Sat, 13 Oct 2007 16:27:20 +0000 (13 12:27 -0400)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 17 Oct 2007 19:33:46 +0000 (17 21:33 +0200)
tree21a747cf4a9f022212e98c346062ac098476a836
parente6d5a11dad44b8ae18ca8fc4ecb72ccccfa0a2d2
mmc: possible leak in mmc_read_ext_csd

The exception path associated with an invalid ext_csd_struct returns
without freeing ext_csd.

Coverity CID 1909.

Signed-off-by: Florin Malita
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/mmc.c