mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
singlenode: reset pointer when hash is destroyed
Just keep pointer consistent.
This commit is contained in:
parent
7041c8bf51
commit
46ae028cd3
@ -109,6 +109,7 @@ static int _init_cluster(void)
|
||||
r = init_comms();
|
||||
if (r) {
|
||||
dm_hash_destroy(_locks);
|
||||
_locks = NULL;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user