mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Fix a lock release leak
- By Russel Rice (IRC: Russel) rtc _ marine /@\ hotmail -dot- -com- svn path=/trunk/; revision=43666
This commit is contained in:
parent
6793ef9a7c
commit
ad561fc082
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ AppendAudioDeviceToList(PnP_AudioDevice* device)
|
|||
if ( audio_device_list->size + device_info_size > audio_device_list->max_size )
|
||||
{
|
||||
/*printf("max_size would be exceeded! Failing...\n");*/
|
||||
|
||||
UnlockAudioDeviceList();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue