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
71cf22e5
Commit
71cf22e5
authored
Jun 21, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Fix some leaks (Valgrind).
parent
885394bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
intshcut.c
dlls/ieframe/tests/intshcut.c
+4
-2
No files found.
dlls/ieframe/tests/intshcut.c
View file @
71cf22e5
...
...
@@ -156,13 +156,14 @@ static void _check_string_transform(unsigned line, IUniformResourceLocatorA *url
todo_wine
ok_
(
__FILE__
,
line
)(
!
lstrcmpA
(
output
,
expectedOutput
),
"unexpected URL change %s -> %s (expected %s)
\n
"
,
input
,
output
,
expectedOutput
);
CoTaskMemFree
(
output
);
}
else
{
todo_wine
ok_
(
__FILE__
,
line
)(
hr
==
S_FALSE
,
"GetUrl failed, hr=0x%x
\n
"
,
hr
);
todo_wine
ok_
(
__FILE__
,
line
)(
!
output
,
"GetUrl returned %s
\n
"
,
output
);
}
if
(
hr
==
S_OK
)
CoTaskMemFree
(
output
);
}
static
void
test_ReadAndWriteProperties
(
void
)
...
...
@@ -252,7 +253,7 @@ static void test_ReadAndWriteProperties(void)
hr
=
urlAFromFile
->
lpVtbl
->
GetURL
(
urlAFromFile
,
&
url
);
ok
(
hr
==
S_OK
,
"Unable to get url from file, hr=0x%x
\n
"
,
hr
);
ok
(
lstrcmpA
(
url
,
testurl
)
==
0
,
"Wrong url read from file: %s
\n
"
,
url
);
CoTaskMemFree
(
url
);
hr
=
urlAFromFile
->
lpVtbl
->
QueryInterface
(
urlAFromFile
,
&
IID_IPropertySetStorage
,
(
void
**
)
&
pPropSetStg
);
ok
(
hr
==
S_OK
,
"Unable to get an IPropertySetStorage, hr=0x%x
\n
"
,
hr
);
...
...
@@ -381,6 +382,7 @@ static void test_InternetShortcut(void)
ok
(
hres
==
S_OK
,
"Could not create CLSID_InternetShortcut instance: %08x
\n
"
,
hres
);
if
(
FAILED
(
hres
))
return
;
url
->
lpVtbl
->
Release
(
url
);
test_Aggregability
();
test_QueryInterface
();
...
...
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