projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a51baa3
)
Patch by Filip Navara.
author
Gé van Geldorp
<ge@gse.nl>
Thu, 15 Jan 2004 21:03:05 +0000
(21:03 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Thu, 15 Jan 2004 21:03:05 +0000
(21:03 +0000)
- Unlock DC in error case.
svn path=/trunk/; revision=7663
reactos/subsys/win32k/objects/brush.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/brush.c
b/reactos/subsys/win32k/objects/brush.c
index
cb0a0c1
..
71e8471
100644
(file)
--- a/
reactos/subsys/win32k/objects/brush.c
+++ b/
reactos/subsys/win32k/objects/brush.c
@@
-16,7
+16,7
@@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: brush.c,v 1.3
0 2003/12/12 15:47:37 weiden
Exp $
+/* $Id: brush.c,v 1.3
1 2004/01/15 21:03:05 gvg
Exp $
*/
@@
-378,6
+378,7
@@
BOOL STDCALL NtGdiPatBlt(HDC hDC,
if (NULL == BrushObj)
{
SetLastWin32Error(ERROR_INVALID_HANDLE);
+ DC_UnlockDc(hDC);
return FALSE;
}