Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
842ffc35
Commit
842ffc35
authored
Nov 07, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Nov 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use msi_alloc_zero instead of a helper function that sets everything to zero.
parent
988509e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
files.c
dlls/msi/files.c
+1
-18
No files found.
dlls/msi/files.c
View file @
842ffc35
...
...
@@ -354,23 +354,6 @@ static VOID set_file_source(MSIPACKAGE* package, MSIFILE* file, LPCWSTR path)
file
->
SourcePath
=
build_directory_name
(
2
,
path
,
file
->
File
);
}
static
struct
media_info
*
create_media_info
(
void
)
{
struct
media_info
*
mi
;
mi
=
msi_alloc
(
sizeof
*
mi
);
if
(
mi
)
{
mi
->
last_sequence
=
0
;
mi
->
last_volume
=
NULL
;
mi
->
last_path
=
NULL
;
mi
->
count
=
0
;
mi
->
source
[
0
]
=
0
;
}
return
mi
;
}
static
void
free_media_info
(
struct
media_info
*
mi
)
{
msi_free
(
mi
->
last_path
);
...
...
@@ -670,7 +653,7 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
*/
msi_create_component_directories
(
package
);
mi
=
create_media_info
(
);
mi
=
msi_alloc_zero
(
sizeof
(
struct
media_info
)
);
/* Pass 2 */
LIST_FOR_EACH_ENTRY
(
file
,
&
package
->
files
,
MSIFILE
,
entry
)
...
...
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