Commit 11d81650 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

allocate_buffer): Call VALIDATE_LISP_STORAGE.

parent b52758d1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment