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

@ -88,6 +88,7 @@ static void root_free(
/* free clients */
list_for_each_tmp(entry, tmp, &root->clients)
nfs41_client_free(client_entry(entry));
DeleteCriticalSection(&root->lock);
free(root);
dprintf(NSLVL, "<-- nfs41_root_free()\n");