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
a77fd778
Commit
a77fd778
authored
Jun 08, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Jun 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Free texture object when releasing mesh builder object.
parent
0023ddf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
meshbuilder.c
dlls/d3drm/meshbuilder.c
+2
-0
No files found.
dlls/d3drm/meshbuilder.c
View file @
a77fd778
...
@@ -367,6 +367,8 @@ static ULONG WINAPI IDirect3DRMMeshBuilder2Impl_Release(IDirect3DRMMeshBuilder2*
...
@@ -367,6 +367,8 @@ static ULONG WINAPI IDirect3DRMMeshBuilder2Impl_Release(IDirect3DRMMeshBuilder2*
{
{
if
(
This
->
material
)
if
(
This
->
material
)
IDirect3DRMMaterial2_Release
(
This
->
material
);
IDirect3DRMMaterial2_Release
(
This
->
material
);
if
(
This
->
texture
)
IDirect3DRMTexture3_Release
(
This
->
texture
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
pVertices
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
pVertices
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
pNormals
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
pNormals
);
...
...
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