Commit 3cb65b0e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fload): Use `xfree' instead of `free'.

(init_obarray): Use `xmalloc' instead of `malloc'.
parent 2add4349
No preview for this file type
......@@ -734,7 +734,7 @@ Return t if file exists.")
saved_doc_string_size = 0;
if (prev_saved_doc_string)
free (prev_saved_doc_string);
xfree (prev_saved_doc_string);
prev_saved_doc_string = 0;
prev_saved_doc_string_size = 0;
......@@ -2915,7 +2915,7 @@ init_obarray ()
staticpro (&Qvariable_documentation);
read_buffer_size = 100 + MAX_MULTIBYTE_LENGTH;
read_buffer = (char *) malloc (read_buffer_size);
read_buffer = (char *) xmalloc (read_buffer_size);
}
void
......
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