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
fa468e64
Commit
fa468e64
authored
May 09, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
May 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few leaking object handles.
parent
9f50a88f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
action.c
dlls/msi/action.c
+3
-0
dialog.c
dlls/msi/dialog.c
+1
-0
No files found.
dlls/msi/action.c
View file @
fa468e64
...
...
@@ -656,12 +656,14 @@ static void ui_actiondata(MSIPACKAGE *package, LPCWSTR action, MSIRECORD * recor
if
(
rc
!=
ERROR_SUCCESS
)
{
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
return
;
}
rc
=
MSI_ViewFetch
(
view
,
&
row
);
if
(
rc
!=
ERROR_SUCCESS
)
{
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
return
;
}
...
...
@@ -1713,6 +1715,7 @@ static void load_feature(MSIPACKAGE* package, MSIRECORD * row)
c_indx
);
package
->
features
[
index
].
Components
[
cnt
]
=
c_indx
;
package
->
features
[
index
].
ComponentCount
++
;
msiobj_release
(
&
row2
->
hdr
);
continue
;
}
...
...
dlls/msi/dialog.c
View file @
fa468e64
...
...
@@ -1235,6 +1235,7 @@ void msi_dialog_destroy( msi_dialog *dialog )
if
(
dialog
->
hwnd
)
DestroyWindow
(
dialog
->
hwnd
);
msiobj_release
(
&
dialog
->
package
->
hdr
);
dialog
->
package
=
NULL
;
HeapFree
(
GetProcessHeap
(),
0
,
dialog
);
}
...
...
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