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
1a9c1d59
Commit
1a9c1d59
authored
Dec 19, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
Dec 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Release ddraw after device in test_texture_wrong_caps().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54049
parent
9e351472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+1
-1
No files found.
dlls/ddraw/tests/ddraw2.c
View file @
1a9c1d59
...
@@ -15657,9 +15657,9 @@ static void test_texture_wrong_caps(const GUID *device_guid)
...
@@ -15657,9 +15657,9 @@ static void test_texture_wrong_caps(const GUID *device_guid)
IDirectDrawSurface_Release
(
rt
);
IDirectDrawSurface_Release
(
rt
);
destroy_viewport
(
device
,
viewport
);
destroy_viewport
(
device
,
viewport
);
destroy_material
(
background
);
destroy_material
(
background
);
IDirectDraw2_Release
(
ddraw
);
refcount
=
IDirect3DDevice2_Release
(
device
);
refcount
=
IDirect3DDevice2_Release
(
device
);
ok
(
!
refcount
,
"Device has %lu references left.
\n
"
,
refcount
);
ok
(
!
refcount
,
"Device has %lu references left.
\n
"
,
refcount
);
IDirectDraw2_Release
(
ddraw
);
DestroyWindow
(
window
);
DestroyWindow
(
window
);
}
}
...
...
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