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
e0905d78
Commit
e0905d78
authored
Sep 21, 2014
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Fixed a memory leak in get_sd (Coverity).
parent
2c6cc0be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
security.c
dlls/wbemprox/security.c
+4
-1
No files found.
dlls/wbemprox/security.c
View file @
e0905d78
...
...
@@ -120,8 +120,11 @@ static HRESULT get_sd( SECURITY_DESCRIPTOR **sd, DWORD *size )
if
(
SUCCEEDED
(
hr
))
{
if
(
!
MakeSelfRelativeSD
(
&
absolute_sd
,
*
sd
,
size
))
if
(
!
MakeSelfRelativeSD
(
&
absolute_sd
,
*
sd
,
size
))
{
HeapFree
(
GetProcessHeap
(),
0
,
*
sd
);
*
sd
=
NULL
;
hr
=
E_FAIL
;
}
}
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