Mercurial > emacs
diff src/ChangeLog @ 57726:66e97a54985f
Fix SAFE_FREE calls. Replace SAFE_FREE_LISP calls.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 26 Oct 2004 22:38:50 +0000 |
parents | 794d9f52bb22 |
children | 394f5aa03475 3a5b83e18d41 |
line wrap: on
line diff
--- a/src/ChangeLog Tue Oct 26 22:37:34 2004 +0000 +++ b/src/ChangeLog Tue Oct 26 22:38:50 2004 +0000 @@ -1,3 +1,14 @@ +2004-10-27 Kim F. Storm <storm@cua.dk> + + * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. + Only allocate info and discarded tables once. + + * lisp.h (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. + 2004-10-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> * gtkutil.c: Put empty line between comment and function body.