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
118379d6
Commit
118379d6
authored
Jan 03, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: COM cleanup for the IHTMLOptionElement* ifaces.
parent
7f9f1697
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
htmloption.c
dlls/mshtml/htmloption.c
+0
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+2
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-2
No files found.
dlls/mshtml/htmloption.c
View file @
118379d6
This diff is collapsed.
Click to expand it.
dlls/mshtml/htmlwindow.c
View file @
118379d6
...
...
@@ -239,7 +239,7 @@ static ULONG WINAPI HTMLWindow2_Release(IHTMLWindow2 *iface)
if
(
This
->
option_factory
)
{
This
->
option_factory
->
window
=
NULL
;
IHTMLOptionElementFactory_Release
(
HTMLOPTFACTORY
(
This
->
option_factory
)
);
IHTMLOptionElementFactory_Release
(
&
This
->
option_factory
->
IHTMLOptionElementFactory_iface
);
}
if
(
This
->
image_factory
)
{
...
...
@@ -1065,7 +1065,7 @@ static HRESULT WINAPI HTMLWindow2_get_Option(IHTMLWindow2 *iface, IHTMLOptionEle
if
(
!
This
->
option_factory
)
This
->
option_factory
=
HTMLOptionElementFactory_Create
(
This
);
*
p
=
HTMLOPTFACTORY
(
This
->
option_factory
)
;
*
p
=
&
This
->
option_factory
->
IHTMLOptionElementFactory_iface
;
IHTMLOptionElementFactory_AddRef
(
*
p
);
return
S_OK
;
...
...
dlls/mshtml/mshtml_private.h
View file @
118379d6
...
...
@@ -228,7 +228,7 @@ typedef struct {
}
global_prop_t
;
typedef
struct
{
const
IHTMLOptionElementFactoryVtbl
*
lpHTMLOptionElementFactoryVtbl
;
IHTMLOptionElementFactory
IHTMLOptionElementFactory_iface
;
LONG
ref
;
...
...
@@ -634,7 +634,6 @@ struct HTMLDocumentNode {
#define HTMLTEXTCONT(x) ((IHTMLTextContainer*) &(x)->lpHTMLTextContainerVtbl)
#define HTMLOPTFACTORY(x) ((IHTMLOptionElementFactory*) &(x)->lpHTMLOptionElementFactoryVtbl)
#define HTMLIMGFACTORY(x) ((IHTMLImageElementFactory*) &(x)->lpHTMLImageElementFactoryVtbl)
#define HTMLLOCATION(x) ((IHTMLLocation*) &(x)->lpHTMLLocationVtbl)
...
...
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