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
f7879b43
Commit
f7879b43
authored
Feb 12, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a memory leak in ITERATE_StartService.
Found by Valgrind.
parent
82d50fa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
action.c
dlls/msi/action.c
+5
-2
No files found.
dlls/msi/action.c
View file @
f7879b43
...
...
@@ -4657,7 +4657,7 @@ static UINT ITERATE_StartService(MSIRECORD *rec, LPVOID param)
{
MSIPACKAGE
*
package
=
param
;
MSICOMPONENT
*
comp
;
SC_HANDLE
scm
,
service
=
NULL
;
SC_HANDLE
scm
=
NULL
,
service
=
NULL
;
LPCWSTR
*
vector
=
NULL
;
LPWSTR
name
,
args
;
DWORD
event
,
numargs
;
...
...
@@ -4672,7 +4672,10 @@ static UINT ITERATE_StartService(MSIRECORD *rec, LPVOID param)
event
=
MSI_RecordGetInteger
(
rec
,
3
);
if
(
!
(
event
&
msidbServiceControlEventStart
))
return
ERROR_SUCCESS
;
{
r
=
ERROR_SUCCESS
;
goto
done
;
}
scm
=
OpenSCManagerW
(
NULL
,
NULL
,
SC_MANAGER_CONNECT
);
if
(
!
scm
)
...
...
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