Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);

	/*