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
effda58a
Commit
effda58a
authored
May 01, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix return value for ITERATE_RemoveFiles (in the error case).
parent
13e16f5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
files.c
dlls/msi/files.c
+3
-3
No files found.
dlls/msi/files.c
View file @
effda58a
...
...
@@ -890,7 +890,7 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
UINT
install_mode
;
LPWSTR
dir
=
NULL
,
path
=
NULL
;
DWORD
size
;
UINT
r
;
UINT
r
et
=
ERROR_SUCCESS
;
component
=
MSI_RecordGetString
(
row
,
2
);
filename
=
MSI_RecordGetString
(
row
,
3
);
...
...
@@ -920,7 +920,7 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
path
=
msi_alloc
(
size
*
sizeof
(
WCHAR
));
if
(
!
path
)
{
r
=
ERROR_OUTOFMEMORY
;
r
et
=
ERROR_OUTOFMEMORY
;
goto
done
;
}
...
...
@@ -948,7 +948,7 @@ done:
msi_free
(
path
);
msi_free
(
dir
);
return
ERROR_SUCCESS
;
return
ret
;
}
UINT
ACTION_RemoveFiles
(
MSIPACKAGE
*
package
)
...
...
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