projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6f531
)
Silence debug message when DeleteObject()ing a NULL object
author
Gé van Geldorp
<ge@gse.nl>
Sun, 11 Jan 2004 01:42:08 +0000
(
01:42
+0000)
committer
Gé van Geldorp
<ge@gse.nl>
Sun, 11 Jan 2004 01:42:08 +0000
(
01:42
+0000)
svn path=/trunk/; revision=7562
reactos/subsys/win32k/objects/gdiobj.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/gdiobj.c
b/reactos/subsys/win32k/objects/gdiobj.c
index
5d1ebe7
..
be637fe
100644
(file)
--- a/
reactos/subsys/win32k/objects/gdiobj.c
+++ b/
reactos/subsys/win32k/objects/gdiobj.c
@@
-19,7
+19,7
@@
/*
* GDIOBJ.C - GDI object manipulation routines
*
- * $Id: gdiobj.c,v 1.5
5 2003/12/27 17:47:44
gvg Exp $
+ * $Id: gdiobj.c,v 1.5
6 2004/01/11 01:42:08
gvg Exp $
*
*/
@@
-528,7
+528,8
@@
NtGdiDeleteObject(HGDIOBJ hObject)
{
DPRINT("NtGdiDeleteObject handle 0x%08x\n", hObject);
- return GDIOBJ_FreeObj(hObject, GDI_OBJECT_TYPE_DONTCARE, GDIOBJFLAG_DEFAULT);
+ return NULL != hObject
+ ? GDIOBJ_FreeObj(hObject, GDI_OBJECT_TYPE_DONTCARE, GDIOBJFLAG_DEFAULT) : FALSE;
}
/*!