projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FREETYPE] Handle allocation failures in our stack-saving hacks. CORE-15642
[reactos.git]
/
sdk
/
lib
/
3rdparty
/
freetype
/
src
/
smooth
/
ftgrays.c
diff --git
a/sdk/lib/3rdparty/freetype/src/smooth/ftgrays.c
b/sdk/lib/3rdparty/freetype/src/smooth/ftgrays.c
index
e5fb3c7
..
a5ec55b
100644
(file)
--- a/
sdk/lib/3rdparty/freetype/src/smooth/ftgrays.c
+++ b/
sdk/lib/3rdparty/freetype/src/smooth/ftgrays.c
@@
-1757,6
+1757,10
@@
typedef ptrdiff_t FT_PtrDist;
#ifdef __REACTOS__
buffer = malloc(FT_MAX(FT_RENDER_POOL_SIZE, 2048));
+ if (!buffer)
+ {
+ return 1;
+ }
#endif
/* set up vertical bands */