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
ecfa0fbc
Commit
ecfa0fbc
authored
Jun 03, 2008
by
Dan Kegel
Committed by
Alexandre Julliard
Jun 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: MsiSourceListEnumMediaDisksW: free original string, not substring.
parent
8f7f2036
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
source.c
dlls/msi/source.c
+4
-5
No files found.
dlls/msi/source.c
View file @
ecfa0fbc
...
...
@@ -304,15 +304,14 @@ UINT WINAPI MsiSourceListEnumMediaDisksW(LPCWSTR szProductCodeOrPatchCode,
if
(
pcchDiskPrompt
)
{
data
=
ptr
;
if
(
!*
data
)
data
++
;
if
(
!*
ptr
)
ptr
++
;
size
=
lstrlenW
(
data
);
size
=
lstrlenW
(
ptr
);
if
(
size
>=
*
pcchDiskPrompt
)
r
=
ERROR_MORE_DATA
;
else
if
(
szDiskPrompt
)
lstrcpyW
(
szDiskPrompt
,
data
);
lstrcpyW
(
szDiskPrompt
,
ptr
);
*
pcchDiskPrompt
=
size
;
}
...
...
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