mmc: card: fix potential null dereference of 'idata'
authorVladimir Motyka <vladimir.motyka@gmail.com>
Wed, 11 May 2011 04:00:43 +0000 (00:00 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:49 +0000 (23:53 -0400)
When allocation of idata failed there was a null dereference. Also avoid
calling kfree where it isn't needed.

Signed-off-by: Vladimir Motyka <vladimir.motyka@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found