free critical sections with DeleteCriticalSection

This commit is contained in:
Olga Kornievskaia 2011-11-02 12:05:33 -04:00
parent 572c69e3d0
commit 0694415a95
4 changed files with 6 additions and 2 deletions

View file

@ -129,7 +129,7 @@ void pnfs_layout_list_free(
layout_state_free(state_entry(entry));
LeaveCriticalSection(&layouts->lock);
DeleteCriticalSection(&layouts->lock);
free(layouts);
}