Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
62ed0ffe
Commit
62ed0ffe
authored
Feb 12, 2003
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some missing LeaveCriticalSection's.
parent
3dcd451b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
dplobby.c
dlls/dplayx/dplobby.c
+2
-0
dosvm.c
dlls/winedos/dosvm.c
+1
-1
mciavi.c
dlls/winmm/mciavi/mciavi.c
+1
-0
No files found.
dlls/dplayx/dplobby.c
View file @
62ed0ffe
...
...
@@ -1285,6 +1285,7 @@ static HRESULT WINAPI IDirectPlayLobbyAImpl_RunApplication
HeapFree
(
GetProcessHeap
(),
0
,
enumData
.
lpszCommandLine
);
HeapFree
(
GetProcessHeap
(),
0
,
enumData
.
lpszCurrentDirectory
);
LeaveCriticalSection
(
&
This
->
unk
->
DPL_lock
);
return
DPERR_CANTCREATEPROCESS
;
}
...
...
@@ -1304,6 +1305,7 @@ static HRESULT WINAPI IDirectPlayLobbyAImpl_RunApplication
if
(
hr
!=
DP_OK
)
{
ERR
(
"SetConnectionSettings failure %s
\n
"
,
DPLAYX_HresultToString
(
hr
)
);
LeaveCriticalSection
(
&
This
->
unk
->
DPL_lock
);
return
hr
;
}
...
...
dlls/winedos/dosvm.c
View file @
62ed0ffe
...
...
@@ -187,7 +187,6 @@ void WINAPI DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data
LPDOSEVENT
event
,
cur
,
prev
;
if
(
current_context
)
{
EnterCriticalSection
(
&
qcrit
);
event
=
malloc
(
sizeof
(
DOSEVENT
));
if
(
!
event
)
{
ERR
(
"out of memory allocating event entry
\n
"
);
...
...
@@ -196,6 +195,7 @@ void WINAPI DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data
event
->
irq
=
irq
;
event
->
priority
=
priority
;
event
->
relay
=
relay
;
event
->
data
=
data
;
EnterCriticalSection
(
&
qcrit
);
/* insert event into linked list, in order *after*
* all earlier events of higher or equal priority */
cur
=
pending_event
;
prev
=
NULL
;
...
...
dlls/winmm/mciavi/mciavi.c
View file @
62ed0ffe
...
...
@@ -566,6 +566,7 @@ static DWORD MCIAVI_mciSeek(UINT wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms
wma
->
dwCurrVideoFrame
=
MCIAVI_ConvertTimeFormatToFrame
(
wma
,
lpParms
->
dwTo
);
}
else
{
WARN
(
"dwFlag doesn't tell where to seek to...
\n
"
);
LeaveCriticalSection
(
&
wma
->
cs
);
return
MCIERR_MISSING_PARAMETER
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment