Author: janderwald
Date: Wed Oct 21 09:45:33 2009
New Revision: 43666
URL:
http://svn.reactos.org/svn/reactos?rev=43666&view=rev
Log:
- Fix a lock release leak
- By Russel Rice (IRC: Russel) rtc _ marine /@\ hotmail -dot- -com-
Modified:
trunk/reactos/base/services/audiosrv/pnp_list_manager.c
Modified: trunk/reactos/base/services/audiosrv/pnp_list_manager.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/audiosrv/pnp…
==============================================================================
--- trunk/reactos/base/services/audiosrv/pnp_list_manager.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/audiosrv/pnp_list_manager.c [iso-8859-1] Wed Oct 21
09:45:33 2009
@@ -78,6 +78,9 @@
if ( audio_device_list->size + device_info_size >
audio_device_list->max_size )
{
/*printf("max_size would be exceeded! Failing...\n");*/
+
+ UnlockAudioDeviceList();
+
return FALSE;
}