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
5ef6f991
Commit
5ef6f991
authored
Jun 25, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: LeaveCriticalSection in one exit case (Coverity).
parent
c69cc550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ifs.c
dlls/ole32/ifs.c
+5
-2
No files found.
dlls/ole32/ifs.c
View file @
5ef6f991
...
...
@@ -217,13 +217,16 @@ static LPVOID WINAPI IMalloc_fnRealloc(LPMALLOC iface,LPVOID pv,DWORD cb) {
IMallocSpy_Release
(
Malloc32
.
pSpy
);
Malloc32
.
SpyReleasePending
=
FALSE
;
Malloc32
.
pSpy
=
NULL
;
LeaveCriticalSection
(
&
IMalloc32_SpyCS
);
}
if
(
0
==
cb
)
{
/* PreRealloc can force Realloc to fail */
LeaveCriticalSection
(
&
IMalloc32_SpyCS
);
/* PreRealloc can force Realloc to fail */
if
(
Malloc32
.
pSpy
)
LeaveCriticalSection
(
&
IMalloc32_SpyCS
);
return
NULL
;
}
pv
=
pRealMemory
;
}
...
...
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