Author: pschweitzer
Date: Sun Apr 6 16:55:53 2014
New Revision: 62666
URL:
http://svn.reactos.org/svn/reactos?rev=62666&view=rev
Log:
[MMEBUDDY]
Prevent double close of a handle
CID #731736
Modified:
trunk/reactos/lib/drivers/sound/mmebuddy/thread.c
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/thread.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/thread.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/thread.c [iso-8859-1] Sun Apr 6 16:55:53
2014
@@ -143,10 +143,6 @@
WaitResult = WaitForSingleObject(Thread->Handle, INFINITE);
SND_ASSERT( WaitResult == WAIT_OBJECT_0 );
- /* Close the thread and invalidate the handle */
- CloseHandle(Thread->Handle); /* Is this needed? */
- Thread->Handle = INVALID_HANDLE_VALUE;
-
return MMSYSERR_NOERROR;
}