comparison install-sh @ 103556:246d16550b8d

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.
author Jim Meyering <jim@meyering.net>
date Tue, 23 Jun 2009 06:49:20 +0000
parents 23a1cea22d13
children
comparison
equal deleted inserted replaced
103555:e3e672080345 103556:246d16550b8d