Hello, License: LGPL, X11 Changelog: Michael Stefaniuc <mstefani@redhat.com> - add missing LeaveCriticalSection's in error path. bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani@redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
Index: dlls/dsound/capture.c =================================================================== RCS file: /home/wine/wine/dlls/dsound/capture.c,v retrieving revision 1.3 diff -u -r1.3 capture.c --- dlls/dsound/capture.c 15 Feb 2003 00:01:17 -0000 1.3 +++ dlls/dsound/capture.c 22 Feb 2003 17:29:30 -0000 @@ -884,6 +884,7 @@ err = mmErr(waveInClose(ipDSC->hwi)); if (err != DS_OK) { TRACE("waveInClose failed\n"); + LeaveCriticalSection(&(This->lock)); return DSERR_GENERIC; } @@ -893,6 +894,7 @@ CALLBACK_FUNCTION | WAVE_DIRECTSOUND)); if (err != DS_OK) { TRACE("waveInOpen failed\n"); + LeaveCriticalSection(&(This->lock)); return DSERR_GENERIC; }
Attachment:
pgp00106.pgp
Description: PGP signature