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
7e168ee7
Commit
7e168ee7
authored
Jun 29, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix refcounting of streams.
parent
8ac61c5a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
msiquery.c
dlls/msi/msiquery.c
+3
-0
record.c
dlls/msi/record.c
+1
-1
No files found.
dlls/msi/msiquery.c
View file @
7e168ee7
...
...
@@ -235,7 +235,10 @@ UINT WINAPI MsiViewFetch(MSIHANDLE hView, MSIHANDLE *record)
db_get_raw_stream
(
query
->
db
,
full_name
,
&
stm
);
if
(
stm
)
{
MSI_RecordSetIStream
(
handle
,
i
,
stm
);
IStream_Release
(
stm
);
}
else
ERR
(
"failed to get stream
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
sval
);
...
...
dlls/msi/record.c
View file @
7e168ee7
...
...
@@ -86,7 +86,7 @@ void MSI_CloseRecord( VOID *arg )
MSIRECORD
*
rec
=
(
MSIRECORD
*
)
arg
;
UINT
i
;
for
(
i
=
0
;
i
<
rec
->
count
;
i
++
)
for
(
i
=
0
;
i
<
=
rec
->
count
;
i
++
)
MSI_FreeField
(
&
rec
->
fields
[
i
]
);
}
...
...
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