projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Synchronize with trunk.
[reactos.git]
/
win32ss
/
gdi
/
ntgdi
/
icm.c
diff --git
a/win32ss/gdi/ntgdi/icm.c
b/win32ss/gdi/ntgdi/icm.c
index
54aa505
..
d06dfc2
100644
(file)
--- a/
win32ss/gdi/ntgdi/icm.c
+++ b/
win32ss/gdi/ntgdi/icm.c
@@
-23,6
+23,8
@@
IntGdiCreateColorSpace(
HCOLORSPACE hCS;
pCS = COLORSPACEOBJ_AllocCSWithHandle();
+ if (pCS == NULL) return NULL;
+
hCS = pCS->BaseObject.hHmgr;
pCS->lcsColorSpace = pLogColorSpace->lcsColorSpace;