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
8633fd62
Commit
8633fd62
authored
Apr 29, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Release the palette after a GetPalette() call in PaletteTest() (Valgrind).
parent
6569337c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dsurface.c
dlls/ddraw/tests/dsurface.c
+1
-0
No files found.
dlls/ddraw/tests/dsurface.c
View file @
8633fd62
...
@@ -2263,6 +2263,7 @@ static void PaletteTest(void)
...
@@ -2263,6 +2263,7 @@ static void PaletteTest(void)
hr
=
IDirectDrawSurface_GetPalette
(
backbuffer
,
&
palette
);
hr
=
IDirectDrawSurface_GetPalette
(
backbuffer
,
&
palette
);
ok
(
hr
==
DD_OK
,
"CreateSurface returned: %x
\n
"
,
hr
);
ok
(
hr
==
DD_OK
,
"CreateSurface returned: %x
\n
"
,
hr
);
IDirectDrawPalette_Release
(
palette
);
IDirectDrawSurface_Release
(
backbuffer
);
IDirectDrawSurface_Release
(
backbuffer
);
IDirectDrawSurface_Release
(
lpSurf
);
IDirectDrawSurface_Release
(
lpSurf
);
...
...
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