1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

toolcontext: Add paired label_init to refresh_toolcontext.

label_init() and label_exit() should be paired.
This commit is contained in:
Alasdair G Kergon 2018-01-02 22:00:31 +00:00
parent 22b6c482ec
commit 4b9806ab6f

View File

@ -2138,6 +2138,8 @@ int refresh_toolcontext(struct cmd_context *cmd)
cmd->lib_dir = NULL; cmd->lib_dir = NULL;
label_init();
if (!_init_lvm_conf(cmd)) if (!_init_lvm_conf(cmd))
return_0; return_0;