diff options
Diffstat (limited to 'drivers/md/multipath.c')
| -rw-r--r-- | drivers/md/multipath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 2ae2d709cb15..2d2ca7fa0265 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
| @@ -533,8 +533,7 @@ static int multipath_run (mddev_t *mddev) | |||
| 533 | out_free_conf: | 533 | out_free_conf: |
| 534 | if (conf->pool) | 534 | if (conf->pool) |
| 535 | mempool_destroy(conf->pool); | 535 | mempool_destroy(conf->pool); |
| 536 | if (conf->multipaths) | 536 | kfree(conf->multipaths); |
| 537 | kfree(conf->multipaths); | ||
| 538 | kfree(conf); | 537 | kfree(conf); |
| 539 | mddev->private = NULL; | 538 | mddev->private = NULL; |
| 540 | out: | 539 | out: |
