changeset 27852:98f55bbdbbad

(Fload): Use `xfree' instead of `free'. (init_obarray): Use `xmalloc' instead of `malloc'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 25 Feb 2000 13:13:08 +0000
parents 868b592aac4a
children 5e58c1f0ede5
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Fri Feb 25 10:39:47 2000 +0000
+++ b/src/lread.c	Fri Feb 25 13:13:08 2000 +0000
@@ -734,7 +734,7 @@
   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 @@
   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