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
f45db6ee
Commit
f45db6ee
authored
Dec 13, 2009
by
James Hawkins
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement DROP_delete that deletes the drop view. We were leaking the view before.
parent
37a05820
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
drop.c
dlls/msi/drop.c
+15
-1
table.c
dlls/msi/table.c
+0
-1
No files found.
dlls/msi/drop.c
View file @
f45db6ee
...
...
@@ -78,6 +78,20 @@ static UINT DROP_get_dimensions(struct tagMSIVIEW *view, UINT *rows, UINT *cols)
return
ERROR_FUNCTION_FAILED
;
}
static
UINT
DROP_delete
(
struct
tagMSIVIEW
*
view
)
{
MSIDROPVIEW
*
dv
=
(
MSIDROPVIEW
*
)
view
;
TRACE
(
"%p
\n
"
,
dv
);
if
(
dv
->
table
)
dv
->
table
->
ops
->
delete
(
dv
->
table
);
msi_free
(
dv
);
return
ERROR_SUCCESS
;
}
static
const
MSIVIEWOPS
drop_ops
=
{
NULL
,
...
...
@@ -91,7 +105,7 @@ static const MSIVIEWOPS drop_ops =
DROP_get_dimensions
,
NULL
,
NULL
,
NULL
,
DROP_delete
,
NULL
,
NULL
,
NULL
,
...
...
dlls/msi/table.c
View file @
f45db6ee
...
...
@@ -2326,7 +2326,6 @@ static UINT TABLE_drop(struct tagMSIVIEW *view)
list_remove
(
&
tv
->
table
->
entry
);
free_table
(
tv
->
table
);
TABLE_delete
(
view
);
done:
msiobj_release
(
&
rec
->
hdr
);
...
...
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