aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorGerd Moellmann2001-09-10 13:41:21 +0000
committerGerd Moellmann2001-09-10 13:41:21 +0000
commit11d8165033f5227cfc6bf3b1b15498d1168fb108 (patch)
treeb6a54e20d657ca9c6648428c30f8a7bc17179af6 /src/alloc.c
parentb52758d17b4bf38d4fd92d904a2ab758723cf21a (diff)
downloademacs-11d8165033f5227cfc6bf3b1b15498d1168fb108.tar.gz
emacs-11d8165033f5227cfc6bf3b1b15498d1168fb108.zip
allocate_buffer): Call VALIDATE_LISP_STORAGE.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c7
1 files 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)
611struct buffer * 611struct buffer *
612allocate_buffer () 612allocate_buffer ()
613{ 613{
614 return (struct buffer *) lisp_malloc (sizeof (struct buffer), 614 struct buffer *b
615 MEM_TYPE_BUFFER); 615 = (struct buffer *) lisp_malloc (sizeof (struct buffer),
616 MEM_TYPE_BUFFER);
617 VALIDATE_LISP_STORAGE (b, sizeof *b);
618 return b;
616} 619}
617 620
618 621