]> asedeno.scripts.mit.edu Git - linux.git/commit
dlm: fix invalid free
authorTycho Andersen <tycho@tycho.ws>
Fri, 2 Nov 2018 20:18:20 +0000 (14:18 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 7 Nov 2018 21:50:34 +0000 (15:50 -0600)
commitd968b4e240cfe39d39d80483bac8bca8716fd93c
tree371fb1d26f628470d1e8697b276941f2470ef473
parent651022382c7f8da46cb4872a545ee1da6d097d2a
dlm: fix invalid free

dlm_config_nodes() does not allocate nodes on failure, so we should not
free() nodes when it fails.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/member.c