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
7ee7f084
Commit
7ee7f084
authored
Jan 22, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix couple PIDL leaks in tests.
parent
b907b7d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+3
-1
No files found.
dlls/shell32/tests/shlfolder.c
View file @
7ee7f084
...
...
@@ -2784,9 +2784,10 @@ static void test_ShellItemCompare(void)
hr
=
IShellFolder_BindToObject
(
psf_desktop
,
pidl_cwd
,
NULL
,
&
IID_IShellFolder
,
(
void
**
)
&
psf_current
);
ok
(
SUCCEEDED
(
hr
),
"BindToObject returned %x
\n
"
,
hr
);
IShellFolder_Release
(
psf_desktop
);
ILFree
(
pidl_cwd
);
/* Generate ShellItems for the files */
ZeroMemory
(
&
psi
,
sizeof
(
IShellItem
*
)
*
9
);
memset
(
&
psi
,
0
,
sizeof
(
psi
)
);
failed
=
FALSE
;
for
(
i
=
0
;
i
<
9
;
i
++
)
{
...
...
@@ -4443,6 +4444,7 @@ static void test_SHChangeNotify(void)
SHChangeNotifyDeregister
(
notifyID
);
DestroyWindow
(
wnd
);
ILFree
((
LPITEMIDLIST
)
entries
[
0
].
pidl
);
br
=
RemoveDirectoryA
(
root_dirA
);
ok
(
br
==
TRUE
,
"RemoveDirectory failed: %d
\n
"
,
GetLastError
());
}
...
...
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