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
eede401d
Commit
eede401d
authored
Sep 14, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Free the message string in ACTION_ResolveSource.
parent
dc105628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
action.c
dlls/msi/action.c
+4
-4
No files found.
dlls/msi/action.c
View file @
eede401d
...
...
@@ -5128,8 +5128,7 @@ static UINT ACTION_ResolveSource(MSIPACKAGE* package)
attrib
=
GetFileAttributesW
(
package
->
db
->
path
);
if
(
attrib
==
INVALID_FILE_ATTRIBUTES
)
{
LPWSTR
prompt
;
LPWSTR
msg
;
LPWSTR
prompt
,
msg
;
DWORD
size
=
0
;
rc
=
MsiSourceListGetInfoW
(
package
->
ProductCode
,
NULL
,
...
...
@@ -5146,17 +5145,18 @@ static UINT ACTION_ResolveSource(MSIPACKAGE* package)
prompt
=
strdupW
(
package
->
db
->
path
);
msg
=
msi_build_error_string
(
package
,
1302
,
1
,
prompt
);
msi_free
(
prompt
);
while
(
attrib
==
INVALID_FILE_ATTRIBUTES
)
{
rc
=
MessageBoxW
(
NULL
,
msg
,
NULL
,
MB_OKCANCEL
);
if
(
rc
==
IDCANCEL
)
{
msi_free
(
prompt
);
msi_free
(
msg
);
return
ERROR_INSTALL_USEREXIT
;
}
attrib
=
GetFileAttributesW
(
package
->
db
->
path
);
}
msi_free
(
prompt
);
msi_free
(
msg
);
rc
=
ERROR_SUCCESS
;
}
else
...
...
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