free critical sections with DeleteCriticalSection
This commit is contained in:
parent
572c69e3d0
commit
0694415a95
4 changed files with 6 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ void pnfs_layout_list_free(
|
|||
layout_state_free(state_entry(entry));
|
||||
|
||||
LeaveCriticalSection(&layouts->lock);
|
||||
|
||||
DeleteCriticalSection(&layouts->lock);
|
||||
free(layouts);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue