Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fe339ba2
Commit
fe339ba2
authored
Mar 09, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Mar 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Fix leakage of pData2 on error.
parent
ccb38b2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
meshbuilder.c
dlls/d3drm/meshbuilder.c
+3
-3
No files found.
dlls/d3drm/meshbuilder.c
View file @
fe339ba2
...
...
@@ -1159,10 +1159,7 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_Load(IDirect3DRMMeshBuilder3*
hr
=
IDirectXFileData_GetType
(
pData2
,
&
pGuid
);
if
(
hr
!=
DXFILE_OK
)
{
IDirectXFileData_Release
(
pData2
);
goto
end
;
}
TRACE
(
"Found object type whose GUID = %s
\n
"
,
debugstr_guid
(
pGuid
));
...
...
@@ -1206,11 +1203,14 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_Load(IDirect3DRMMeshBuilder3*
}
IDirectXFileData_Release
(
pData2
);
pData2
=
NULL
;
}
ret
=
D3DRM_OK
;
end:
if
(
pData2
)
IDirectXFileData_Release
(
pData2
);
if
(
pData
)
IDirectXFileData_Release
(
pData
);
if
(
pEnumObject
)
...
...
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