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
2afd65f6
Commit
2afd65f6
authored
May 06, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
May 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Handle NULL component correctly in MsiEnumComponentCostsW.
parent
3ef0a28f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
msi.c
dlls/msi/msi.c
+2
-3
No files found.
dlls/msi/msi.c
View file @
2afd65f6
...
...
@@ -1844,13 +1844,12 @@ UINT WINAPI MsiEnumComponentCostsW( MSIHANDLE handle, LPCWSTR component, DWORD i
{
HRESULT
hr
;
IWineMsiRemotePackage
*
remote_package
;
BSTR
bname
;
BSTR
bname
=
NULL
;
if
(
!
(
remote_package
=
(
IWineMsiRemotePackage
*
)
msi_get_remote
(
handle
)))
return
ERROR_INVALID_HANDLE
;
bname
=
SysAllocString
(
component
);
if
(
!
bname
)
if
(
component
&&
!
(
bname
=
SysAllocString
(
component
)))
{
IWineMsiRemotePackage_Release
(
remote_package
);
return
ERROR_OUTOFMEMORY
;
...
...
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