From e55c6999ae62506dd8798451bb95d7a3aa7da765 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 20 Nov 2014 08:52:44 +0100 Subject: [PATCH] toollib: release vg on ignore path Missing call to release_vg(). --- tools/toollib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/toollib.c b/tools/toollib.c index 30dc980ba..d33de7915 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -2201,6 +2201,7 @@ static int _process_pvs_in_vgs(struct cmd_context *cmd, uint32_t flags, if (ignore_vg(vg, vg_name, flags & READ_ALLOW_INCONSISTENT, &skip)) { stack; ret_max = ECMD_FAILED; + release_vg(vg); continue; }