aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorJim Meyering2009-06-23 06:49:20 +0000
committerJim Meyering2009-06-23 06:49:20 +0000
commitc6da7cd2b63cc9094d690b74875bf8609b5c0107 (patch)
tree4c6731024ab0f50692ceb0b848492a3b77b1bdcf /src/window.c
parentf5f20f6c6718e08c1c8c9140466c7eb5811fe467 (diff)
downloademacs-c6da7cd2b63cc9094d690b74875bf8609b5c0107.tar.gz
emacs-c6da7cd2b63cc9094d690b74875bf8609b5c0107.zip
Don't dereference NULL upon failed malloc and realloc.
* src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap pointer dereferences are guaranteed to be valid.
Diffstat (limited to 'src/window.c')
0 files changed, 0 insertions, 0 deletions