From 11d8165033f5227cfc6bf3b1b15498d1168fb108 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 10 Sep 2001 13:41:21 +0000 Subject: [PATCH] allocate_buffer): Call VALIDATE_LISP_STORAGE. --- src/alloc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index 5c0e0dd3c68..b048d04e645 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -611,8 +611,11 @@ lisp_malloc (nbytes, type) struct buffer * allocate_buffer () { - return (struct buffer *) lisp_malloc (sizeof (struct buffer), - MEM_TYPE_BUFFER); + struct buffer *b + = (struct buffer *) lisp_malloc (sizeof (struct buffer), + MEM_TYPE_BUFFER); + VALIDATE_LISP_STORAGE (b, sizeof *b); + return b; } -- 2.39.5