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
d6c2e6f0
Commit
d6c2e6f0
authored
Jun 25, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fix missing unlock on an error path. Found by Smatch.
parent
3f5fc520
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vertexbuffer.c
dlls/ddraw/vertexbuffer.c
+1
-0
No files found.
dlls/ddraw/vertexbuffer.c
View file @
d6c2e6f0
...
@@ -250,6 +250,7 @@ IDirect3DVertexBufferImpl_Lock(IDirect3DVertexBuffer7 *iface,
...
@@ -250,6 +250,7 @@ IDirect3DVertexBufferImpl_Lock(IDirect3DVertexBuffer7 *iface,
if
(
hr
!=
D3D_OK
)
if
(
hr
!=
D3D_OK
)
{
{
ERR
(
"(%p) IWineD3DVertexBuffer::GetDesc failed with hr=%08x
\n
"
,
This
,
hr
);
ERR
(
"(%p) IWineD3DVertexBuffer::GetDesc failed with hr=%08x
\n
"
,
This
,
hr
);
LeaveCriticalSection
(
&
ddraw_cs
);
return
hr
;
return
hr
;
}
}
*
Size
=
Desc
.
Size
;
*
Size
=
Desc
.
Size
;
...
...
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