From eeb164b50f9e5e5ce39f7851fced7c29e1fc0202 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 2 Jul 2013 23:59:52 +0200 Subject: [PATCH] lvconvert: use proper error path VG needs to be released in this error path --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 4d2a43249..ccc842080 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -2413,7 +2413,7 @@ static int lvconvert_single(struct cmd_context *cmd, struct lvconvert_params *lp &lp->passed_args, &lp->chunk_size, &lp->discards, &lp->poolmetadata_size, &lp->zero)) - goto_out; + goto_bad; /* * lp->pvh holds the list of PVs available for allocation or removal