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
ff01912a
Commit
ff01912a
authored
Jun 28, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Replace malloc() with HeapAlloc().
parent
0fe33f21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
comboex.c
dlls/comctl32/tests/comboex.c
+2
-2
No files found.
dlls/comctl32/tests/comboex.c
View file @
ff01912a
...
...
@@ -82,7 +82,7 @@ static void test_comboboxex(void) {
out_of_range_item
[]
=
{
'O'
,
'u'
,
't'
,
' '
,
'o'
,
'f'
,
' '
,
'R'
,
'a'
,
'n'
,
'g'
,
'e'
,
' '
,
'I'
,
't'
,
'e'
,
'm'
,
0
};
/* Allocate space for result */
textBuffer
=
malloc
(
MAX_CHARS
);
textBuffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
MAX_CHARS
);
/* Basic comboboxex test */
myHwnd
=
createComboEx
(
WS_BORDER
|
WS_VISIBLE
|
WS_CHILD
|
CBS_DROPDOWN
);
...
...
@@ -168,7 +168,7 @@ static void test_comboboxex(void) {
/* Cleanup */
free
(
textBuffer
);
HeapFree
(
GetProcessHeap
(),
0
,
textBuffer
);
}
...
...
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