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
d9e40b82
Commit
d9e40b82
authored
Feb 19, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Destroy streams cache when applying a transform.
parent
f80f1cc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
database.c
dlls/msi/database.c
+13
-10
No files found.
dlls/msi/database.c
View file @
d9e40b82
...
...
@@ -225,16 +225,6 @@ end:
return
ret
;
}
void
append_storage_to_db
(
MSIDATABASE
*
db
,
IStorage
*
stg
)
{
MSITRANSFORM
*
t
;
t
=
msi_alloc
(
sizeof
*
t
);
t
->
stg
=
stg
;
IStorage_AddRef
(
stg
);
list_add_tail
(
&
db
->
transforms
,
&
t
->
entry
);
}
static
void
free_transforms
(
MSIDATABASE
*
db
)
{
while
(
!
list_empty
(
&
db
->
transforms
)
)
...
...
@@ -259,6 +249,19 @@ static void free_streams( MSIDATABASE *db )
}
}
void
append_storage_to_db
(
MSIDATABASE
*
db
,
IStorage
*
stg
)
{
MSITRANSFORM
*
t
;
t
=
msi_alloc
(
sizeof
*
t
);
t
->
stg
=
stg
;
IStorage_AddRef
(
stg
);
list_add_tail
(
&
db
->
transforms
,
&
t
->
entry
);
/* the transform may add or replace streams */
free_streams
(
db
);
}
static
VOID
MSI_CloseDatabase
(
MSIOBJECTHDR
*
arg
)
{
MSIDATABASE
*
db
=
(
MSIDATABASE
*
)
arg
;
...
...
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