block: fix add_partition() error path
authorTejun Heo <tj@kernel.org>
Mon, 10 Nov 2008 06:28:59 +0000 (15:28 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 18 Nov 2008 14:08:55 +0000 (15:08 +0100)
Partition stats structure was not freed on devt allocation failure
path.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found