Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
103ef913
Commit
103ef913
authored
Jan 20, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed some leaks in tests (valgrind).
parent
60d8c481
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
activex.c
dlls/mshtml/tests/activex.c
+1
-0
dom.c
dlls/mshtml/tests/dom.c
+2
-0
events.c
dlls/mshtml/tests/events.c
+1
-0
No files found.
dlls/mshtml/tests/activex.c
View file @
103ef913
...
...
@@ -471,6 +471,7 @@ static HRESULT WINAPI PersistPropertyBag_Load(IPersistPropertyBag *face, IProper
ok
(
hres
==
S_OK
,
"Read failed: %08x
\n
"
,
hres
);
ok
(
V_VT
(
&
v
)
==
VT_BSTR
,
"V_VT(&v) = %d
\n
"
,
V_VT
(
&
v
));
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"3"
),
"V_BSTR(v) = %s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
SysFreeString
(
V_BSTR
(
&
v
));
V_VT
(
&
v
)
=
VT_I4
;
V_I4
(
&
v
)
=
0xdeadbeef
;
...
...
dlls/mshtml/tests/dom.c
View file @
103ef913
...
...
@@ -2909,6 +2909,7 @@ static IHTMLElement *_test_create_elem(unsigned line, IHTMLDocument2 *doc, const
hres
=
IHTMLDocument2_createElement
(
doc
,
tmp
,
&
elem
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"createElement failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
elem
!=
NULL
,
"elem == NULL
\n
"
);
SysFreeString
(
tmp
);
return
elem
;
}
...
...
@@ -2927,6 +2928,7 @@ static IHTMLDOMNode *_test_create_text(unsigned line, IHTMLDocument2 *doc, const
tmp
=
a2bstr
(
text
);
hres
=
IHTMLDocument3_createTextNode
(
doc3
,
tmp
,
&
node
);
IHTMLDocument3_Release
(
doc3
);
SysFreeString
(
tmp
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"createElement failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
node
!=
NULL
,
"node == NULL
\n
"
);
...
...
dlls/mshtml/tests/events.c
View file @
103ef913
...
...
@@ -986,6 +986,7 @@ static HRESULT WINAPI iframe_onreadystatechange(IDispatchEx *iface, DISPID id, L
else
ok
(
0
,
"unexpected state %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
IHTMLDocument2_Release
(
iframe_doc
);
IHTMLFrameBase2_Release
(
iframe
);
return
S_OK
;
...
...
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