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
22ac3704
Commit
22ac3704
authored
Nov 16, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Free the converted declaration data after creating the declaration.
parent
f0c479d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
device.c
dlls/d3d9/device.c
+1
-0
No files found.
dlls/d3d9/device.c
View file @
22ac3704
...
...
@@ -1128,6 +1128,7 @@ IDirect3DVertexDeclaration9 *getConvertedDecl(IDirect3DDevice9Impl *This, DWORD
if
(
hr
!=
S_OK
)
return
NULL
;
hr
=
IDirect3DDevice9Impl_CreateVertexDeclaration
((
IDirect3DDevice9
*
)
This
,
elements
,
&
pDecl
);
HeapFree
(
GetProcessHeap
(),
0
,
elements
);
/* CreateVertexDeclaration makes a copy */
if
(
hr
!=
S_OK
)
return
NULL
;
if
(
This
->
declArraySize
==
This
->
numConvertedDecls
)
{
...
...
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