1
0
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:
Zdenek Kabelac 2014-03-19 23:34:11 +01:00
parent 7041c8bf51
commit 46ae028cd3

View File

@ -109,6 +109,7 @@ static int _init_cluster(void)
r = init_comms();
if (r) {
dm_hash_destroy(_locks);
_locks = NULL;
return r;
}