Commit 1f00b0a6 authored by Vasily Averin's avatar Vasily Averin Committed by Greg Kroah-Hartman

dlm: possible memory leak on error path in create_lkb()

commit 23851e97 upstream.

Fixes 3d6aa675 ("dlm: keep lkbs in idr")
Cc: # 3.1
Signed-off-by: default avatarVasily Averin <>
Signed-off-by: David Teigland's avatarDavid Teigland <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 78460f37
......@@ -1209,6 +1209,7 @@ static int create_lkb(struct dlm_ls *ls, struct dlm_lkb **lkb_ret)
if (rv < 0) {
log_error(ls, "create_lkb idr error %d", rv);
return rv;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment