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
bf5e5a98
Commit
bf5e5a98
authored
Jan 16, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Remove superfluous NULL pointer checks before free (Smatch).
parent
51f77f49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
corruntimehost.c
dlls/mscoree/corruntimehost.c
+4
-8
No files found.
dlls/mscoree/corruntimehost.c
View file @
bf5e5a98
...
...
@@ -609,14 +609,10 @@ static HRESULT WINAPI CLRRuntimeHost_ExecuteInDefaultAppDomain(ICLRRuntimeHost*
}
cleanup:
if
(
filenameA
)
HeapFree
(
GetProcessHeap
(),
0
,
filenameA
);
if
(
classA
)
HeapFree
(
GetProcessHeap
(),
0
,
classA
);
if
(
argsA
)
HeapFree
(
GetProcessHeap
(),
0
,
argsA
);
if
(
methodA
)
HeapFree
(
GetProcessHeap
(),
0
,
methodA
);
HeapFree
(
GetProcessHeap
(),
0
,
filenameA
);
HeapFree
(
GetProcessHeap
(),
0
,
classA
);
HeapFree
(
GetProcessHeap
(),
0
,
argsA
);
HeapFree
(
GetProcessHeap
(),
0
,
methodA
);
return
hr
;
}
...
...
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