Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7aa39178
Commit
7aa39178
authored
Apr 15, 2007
by
Alban Browaeys
Committed by
Alexandre Julliard
Apr 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Move msi_free(msiFilePath) to enable ERR message to use it before it is freed.
parent
725057da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
action.c
dlls/msi/action.c
+2
-1
No files found.
dlls/msi/action.c
View file @
7aa39178
...
...
@@ -3679,14 +3679,15 @@ static UINT msi_make_package_local( MSIPACKAGE *package, HKEY hkey )
msiFilePath
=
msi_dup_property
(
package
,
szOriginalDatabase
);
r
=
CopyFileW
(
msiFilePath
,
packagefile
,
FALSE
);
msi_free
(
msiFilePath
);
if
(
!
r
)
{
ERR
(
"Unable to copy package (%s -> %s) (error %d)
\n
"
,
debugstr_w
(
msiFilePath
),
debugstr_w
(
packagefile
),
GetLastError
());
msi_free
(
msiFilePath
);
return
ERROR_FUNCTION_FAILED
;
}
msi_free
(
msiFilePath
);
/* FIXME: maybe set this key in ACTION_RegisterProduct instead */
msi_reg_set_val_str
(
hkey
,
INSTALLPROPERTY_LOCALPACKAGEW
,
packagefile
);
...
...
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