md: raid0: Fix a memory leak when stopping a raid0 array.
authorAndre Noll <maan@systemlinux.org>
Tue, 16 Jun 2009 06:48:19 +0000 (16:48 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:48:19 +0000 (16:48 +1000)
raid0_stop() removes all references to the raid0 configuration but
misses to free the ->devlist buffer.

This patch closes this leak, removes a pointless initialization and
fixes a coding style issue in raid0_stop().

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found