diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-22 19:39:31 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 18:05:46 +0100 |
commit | 298304f1a554d44cf13391e531ced3cde69a8ce4 (patch) | |
tree | 586c6f1d99aa03856f057280ca6647089dfa8618 /block | |
parent | mtd: blktrans: Hotplug fixes (diff) | |
download | linux-298304f1a554d44cf13391e531ced3cde69a8ce4.tar.xz linux-298304f1a554d44cf13391e531ced3cde69a8ce4.zip |
mtd: mtdblock: test return value of add_mtd_blktrans_dev, because if can fail
This prevents a memory leak
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions