mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
dlm: fix missing idr_destroy for recover_idr
Which would leak memory for the idr internals. Signed-off-by: David Teigland <[email protected]>
This commit is contained in:
parent
d47b41acee
commit
8fc6ed9a35
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue