mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
allocate_buffer): Call VALIDATE_LISP_STORAGE.
This commit is contained in:
parent
b52758d17b
commit
11d8165033
@ -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…
Reference in New Issue
Block a user