winverbs: delete critical sections when no longer needed
authorport.2.tmp <port.2.tmp@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 15 Jan 2010 17:14:46 +0000 (17:14 +0000)
committerport.2.tmp <port.2.tmp@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 15 Jan 2010 17:14:46 +0000 (17:14 +0000)
commit1d73349ef51e53c5d2882159971222a53950c648
tree717252ee43ab19a7d940014de73ce0d13e6898ec
parent891b1e3053a05776af6ac368acb294f6e78906e8
winverbs: delete critical sections when no longer needed

To avoid leaking memory, we need to call DeleteCriticalSection
for all critical sections once they are no longer needed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2669 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/winmad/user/wm_provider.cpp
core/winverbs/user/wv_base.cpp
ulp/libibumad/src/umad.cpp
ulp/netdirect/user/nd_adapter.cpp