Handle NULL pointers in w32heap.c allocation routines
commit094d5e9ef0fac319816c00cc52e0a0f2ef41be37
authorEli Zaretskii <eliz@gnu.org>
Mon, 27 Jul 2015 18:16:46 +0000 (27 21:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 27 Jul 2015 18:16:46 +0000 (27 21:16 +0300)
tree792914d8eccfdd757bb0ce9fccce4cc0c0ac34b6
parent3266513eb7b7972cc63884338f821ca774a06cfa
Handle NULL pointers in w32heap.c allocation routines

* src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
freeable".
(realloc_after_dump, realloc_before_dump, free_before_dump):
Handle NULL pointers gracefully, as Emacs now seems to expect
that.
src/w32heap.c