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
59ee884b
Commit
59ee884b
authored
May 31, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a leak when creating test icons (Valgrind).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4fdfa29e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cursoricon.c
dlls/user32/tests/cursoricon.c
+2
-0
No files found.
dlls/user32/tests/cursoricon.c
View file @
59ee884b
...
...
@@ -1192,6 +1192,8 @@ static void create_ico_file(const char *filename, const test_icon_entries_t *tes
ret
=
WriteFile
(
file
,
buf
,
icon_size
,
&
bytes_written
,
NULL
);
ok
(
ret
&&
bytes_written
==
icon_size
,
"icon.ico created improperly.
\n
"
);
CloseHandle
(
file
);
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
}
static
void
test_LoadImage
(
void
)
...
...
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