Commit 8fc6ed9a authored by David Teigland's avatar David Teigland

dlm: fix missing idr_destroy for recover_idr

Which would leak memory for the idr internals.
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent d47b41ac
......@@ -807,6 +807,7 @@ static int release_lockspace(struct dlm_ls *ls, int force)
dlm_delete_debug_file(ls);
idr_destroy(&ls->ls_recover_idr);
kfree(ls->ls_recover_buf);
/*
......
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