(USE_SAFE_ALLOCA): Add and init sa_must_free integer.
authorKim F. Storm <storm@cua.dk>
Tue, 26 Oct 2004 22:37:02 +0000 (22:37 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 26 Oct 2004 22:37:02 +0000 (22:37 +0000)
commitc33188d937816a0c9dbbc271db54525fee73170b
tree4196d945fc69d7e9aa186d5beb214481fb0ec04b
parent8671340582b5553c8810e66455f52cfd89076bdd
(USE_SAFE_ALLOCA): Add and init sa_must_free integer.
(SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
(SAFE_FREE): Test it to determine if we need to unwind to free.
Remove size arg.  All users changed.
(SAFE_FREE_LISP) Remove.  All users changed to use SAFE_FREE.
src/lisp.h