Be consistent with setting and testing for breathing_space
authorSteve Youngs <steve@sxemacs.org>
Wed, 25 Jan 2012 00:19:53 +0000 (10:19 +1000)
committerSteve Youngs <steve@sxemacs.org>
Wed, 25 Jan 2012 00:19:53 +0000 (10:19 +1000)
commit3309efd48d127f36d11089ee8b554462d6c02cf0
treeb101a02e6f62645a070b76125ffcd366c203afee
parent68dc6903190707a088574dd5f175a625004f8af4
Be consistent with setting and testing for breathing_space

* src/alloc.c (refill_memory_reserve): Test if breathing_space is
NULL, not zero.
Don't cast the malloc.

* src/alloc.c (garbage_collect_1): Increase breathing_space to,
erm, give us more breathing space.

* src/alloc.c (reinit_alloc_once_early): Set breathing_space to
NULL, not zero.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
src/alloc.c