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
8a7690c1
Commit
8a7690c1
authored
Jul 23, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Jul 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Properly delete the columns view.
parent
05849645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
alter.c
dlls/msi/alter.c
+1
-1
table.c
dlls/msi/table.c
+2
-2
No files found.
dlls/msi/alter.c
View file @
8a7690c1
...
...
@@ -129,7 +129,7 @@ static UINT alter_add_column(MSIALTERVIEW *av)
colnum
,
av
->
colinfo
->
column
,
av
->
colinfo
->
type
,
(
av
->
hold
==
1
));
msiobj_release
(
&
columns
->
hdr
);
columns
->
ops
->
delete
(
columns
);
return
r
;
}
...
...
dlls/msi/table.c
View file @
8a7690c1
...
...
@@ -1686,7 +1686,7 @@ static UINT TABLE_add_ref(struct tagMSIVIEW *view)
static
UINT
TABLE_remove_column
(
struct
tagMSIVIEW
*
view
,
LPCWSTR
table
,
UINT
number
)
{
MSITABLEVIEW
*
tv
=
(
MSITABLEVIEW
*
)
view
;
MSIRECORD
*
rec
;
MSIRECORD
*
rec
=
NULL
;
MSIVIEW
*
columns
=
NULL
;
UINT
row
,
r
;
...
...
@@ -1713,7 +1713,7 @@ static UINT TABLE_remove_column(struct tagMSIVIEW *view, LPCWSTR table, UINT num
done:
msiobj_release
(
&
rec
->
hdr
);
if
(
columns
)
msiobj_release
(
&
columns
->
hdr
);
if
(
columns
)
columns
->
ops
->
delete
(
columns
);
return
r
;
}
...
...
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