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
38a99502
Commit
38a99502
authored
Jan 15, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix some leaks in tests (Valgrind).
parent
d6c07529
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
shfldr_special.c
dlls/shell32/tests/shfldr_special.c
+3
-0
shlfolder.c
dlls/shell32/tests/shlfolder.c
+1
-0
shlview.c
dlls/shell32/tests/shlview.c
+1
-0
No files found.
dlls/shell32/tests/shfldr_special.c
View file @
38a99502
...
...
@@ -162,8 +162,11 @@ if (0)
hr
=
IShellFolder2_GetDefaultColumnState
(
folder
,
6
,
&
state
);
ok
(
broken
(
hr
==
E_NOTIMPL
)
||
hr
==
E_INVALIDARG
/* Win7 */
,
"got 0x%08x
\n
"
,
hr
);
details
.
str
.
u
.
pOleStr
=
NULL
;
hr
=
IShellFolder2_GetDetailsOf
(
folder
,
NULL
,
0
,
&
details
);
ok
(
hr
==
S_OK
||
broken
(
E_NOTIMPL
)
/* W2K */
,
"got 0x%08x
\n
"
,
hr
);
if
(
SHELL_OsIsUnicode
())
SHFree
(
details
.
str
.
u
.
pOleStr
);
/* test every column if method is implemented */
if
(
hr
==
S_OK
)
{
...
...
dlls/shell32/tests/shlfolder.c
View file @
38a99502
...
...
@@ -3977,6 +3977,7 @@ static void r_verify_pidl(unsigned l, LPCITEMIDLIST pidl, const WCHAR *path)
ok_
(
__FILE__
,
l
)(
lstrcmpW
(
path
,
U
(
filename
).
pOleStr
)
==
0
,
"didn't get expected path (%s), instead: %s
\n
"
,
wine_dbgstr_w
(
path
),
wine_dbgstr_w
(
U
(
filename
).
pOleStr
));
SHFree
(
U
(
filename
).
pOleStr
);
}
else
if
(
filename
.
uType
==
STRRET_CSTR
){
ok_
(
__FILE__
,
l
)(
strcmp_wa
(
path
,
U
(
filename
).
cStr
)
==
0
,
"didn't get expected path (%s), instead: %s
\n
"
,
...
...
dlls/shell32/tests/shlview.c
View file @
38a99502
...
...
@@ -1105,6 +1105,7 @@ static void test_GetSetCurrentViewMode(void)
skip
(
"No IFolderView for the desktop folder.
\n
"
);
}
IShellBrowser_Release
(
browser
);
IShellView_DestroyViewWindow
(
sview
);
IShellView_Release
(
sview
);
IShellFolder_Release
(
desktop
);
...
...
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