allocate_buffer): Call VALIDATE_LISP_STORAGE.
This commit is contained in:
parent
b52758d17b
commit
11d8165033
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue