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
993f4d48
Commit
993f4d48
authored
Jun 13, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Jun 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix memory leaks in HANDLE_CustomType23 (scan-build).
parent
1f7c84a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
custom.c
dlls/msi/custom.c
+2
-0
No files found.
dlls/msi/custom.c
View file @
993f4d48
...
@@ -1021,6 +1021,7 @@ static UINT HANDLE_CustomType23( MSIPACKAGE *package, const WCHAR *source, const
...
@@ -1021,6 +1021,7 @@ static UINT HANDLE_CustomType23( MSIPACKAGE *package, const WCHAR *source, const
if
(
!
(
args
=
build_msiexec_args
(
filename
,
target
)))
if
(
!
(
args
=
build_msiexec_args
(
filename
,
target
)))
{
{
free
(
dir
);
free
(
dir
);
free
(
filename
);
return
ERROR_OUTOFMEMORY
;
return
ERROR_OUTOFMEMORY
;
}
}
...
@@ -1028,6 +1029,7 @@ static UINT HANDLE_CustomType23( MSIPACKAGE *package, const WCHAR *source, const
...
@@ -1028,6 +1029,7 @@ static UINT HANDLE_CustomType23( MSIPACKAGE *package, const WCHAR *source, const
handle
=
execute_command
(
L"msiexec"
,
args
,
dir
);
handle
=
execute_command
(
L"msiexec"
,
args
,
dir
);
free
(
dir
);
free
(
dir
);
free
(
filename
);
free
(
args
);
free
(
args
);
if
(
handle
==
INVALID_HANDLE_VALUE
)
return
ERROR_SUCCESS
;
if
(
handle
==
INVALID_HANDLE_VALUE
)
return
ERROR_SUCCESS
;
return
wait_process_handle
(
package
,
type
,
handle
,
action
);
return
wait_process_handle
(
package
,
type
,
handle
,
action
);
...
...
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