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
fa8476e7
Commit
fa8476e7
authored
Dec 13, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Dec 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Close the file handle returned by FindFirstFile.
parent
e94bcee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
action.c
dlls/msi/action.c
+10
-5
No files found.
dlls/msi/action.c
View file @
fa8476e7
...
...
@@ -5194,8 +5194,8 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options)
path
=
wildcard_to_file
(
source
,
wfd
.
cFileName
);
if
(
!
path
)
{
free_list
(
&
files
)
;
return
FALSE
;
res
=
FALSE
;
goto
done
;
}
add_wildcard
(
&
files
,
path
,
dest
);
...
...
@@ -5208,8 +5208,8 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options)
file
->
dest
=
msi_realloc
(
file
->
dest
,
size
*
sizeof
(
WCHAR
));
if
(
!
file
->
dest
)
{
free_list
(
&
files
)
;
return
FALSE
;
res
=
FALSE
;
goto
done
;
}
lstrcpyW
(
strrchrW
(
file
->
dest
,
'\\'
)
+
1
,
file
->
destname
);
...
...
@@ -5224,7 +5224,12 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options)
free_file_entry
(
file
);
}
return
TRUE
;
res
=
TRUE
;
done:
free_list
(
&
files
);
FindClose
(
hfile
);
return
res
;
}
static
UINT
ITERATE_MoveFiles
(
MSIRECORD
*
rec
,
LPVOID
param
)
...
...
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