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
4811743b
Commit
4811743b
authored
Nov 13, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Only free a string in one place.
parent
959c7184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
custom.c
dlls/msi/custom.c
+2
-4
No files found.
dlls/msi/custom.c
View file @
4811743b
...
...
@@ -561,7 +561,7 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source,
PROCESS_INFORMATION
info
;
BOOL
rc
;
INT
len
;
WCHAR
*
deformated
;
WCHAR
*
deformated
=
NULL
;
WCHAR
*
cmd
;
static
const
WCHAR
spc
[]
=
{
' '
,
0
};
UINT
r
=
ERROR_SUCCESS
;
...
...
@@ -595,15 +595,13 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
c_collen
,
&
si
,
&
info
);
msi_free
(
cmd
);
if
(
!
rc
)
{
ERR
(
"Unable to execute command %s
\n
"
,
debugstr_w
(
cmd
));
msi_free
(
cmd
);
return
ERROR_SUCCESS
;
}
msi_free
(
cmd
);
r
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
&
finished
);
...
...
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