summaryrefslogtreecommitdiffstats
path: root/tools/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lvm.c')
-rw-r--r--tools/lvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lvm.c b/tools/lvm.c
index 8cebf2df..17a658c7 100644
--- a/tools/lvm.c
+++ b/tools/lvm.c
@@ -912,6 +912,7 @@ static void _exit_uuid_map(void)
uuid_map_destroy(the_um);
label_exit();
_lvm1_label->ops->destroy(_lvm1_label);
+ _lvm1_label = NULL;
}
static int _get_env_vars(void)