mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
toolcontext: do not set cmd->initialized_connections = 0 on destroy_toolcontext
The whole cmd context is freed completely in destroy_toolcontext, so do not write to any of dead cmd variables.
This commit is contained in:
parent
519c309952
commit
b3997469b5
@ -2179,7 +2179,6 @@ void destroy_toolcontext(struct cmd_context *cmd)
|
||||
lvmetad_release_token();
|
||||
lvmetad_disconnect();
|
||||
lvmpolld_disconnect();
|
||||
cmd->initialized.connections = 0;
|
||||
|
||||
release_log_memory();
|
||||
activation_exit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user