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
bd8fc9c4
Commit
bd8fc9c4
authored
Dec 05, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Don't forget to free array after tests.
parent
0f003ef4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dpa.c
dlls/comctl32/tests/dpa.c
+4
-0
No files found.
dlls/comctl32/tests/dpa.c
View file @
bd8fc9c4
...
...
@@ -347,6 +347,8 @@ static void test_dpa(void)
pDPA_DeleteAllPtrs
(
dpa2
);
rc
=
CheckDPA
(
dpa2
,
0
,
&
dw2
);
ok
(
rc
,
"dw2=0x%x
\n
"
,
dw2
);
pDPA_Destroy
(
dpa
);
pDPA_Destroy
(
dpa2
);
pDPA_Destroy
(
dpa3
);
}
...
...
@@ -623,8 +625,10 @@ static void test_DPA_LoadStream(void)
hRes
=
IStream_Seek
(
pStm
,
li
,
STREAM_SEEK_SET
,
NULL
);
expect
(
S_OK
,
hRes
);
dpa
=
NULL
;
hRes
=
pDPA_LoadStream
(
&
dpa
,
CB_Load
,
pStm
,
NULL
);
expect
(
S_OK
,
hRes
);
DPA_Destroy
(
dpa
);
/* try with altered dwData2 field */
header
.
dwSize
=
sizeof
(
header
);
...
...
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