Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
11d81650
Commit
11d81650
authored
Sep 10, 2001
by
Gerd Moellmann
Browse files
allocate_buffer): Call VALIDATE_LISP_STORAGE.
parent
b52758d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/alloc.c
src/alloc.c
+5
-2
No files found.
src/alloc.c
View file @
11d81650
...
...
@@ -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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment