aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-02-25 13:14:25 +0000
committerGerd Moellmann2000-02-25 13:14:25 +0000
commit3cb65b0e936f758ac16004af382569ba0d934310 (patch)
tree7999505fa40da9807f3c94fe47aca96dcdfa8f46 /src
parent2add43492a4a3f516edffad658a9fb9aebf116d2 (diff)
downloademacs-3cb65b0e936f758ac16004af382569ba0d934310.tar.gz
emacs-3cb65b0e936f758ac16004af382569ba0d934310.zip
(Fload): Use `xfree' instead of `free'.
(init_obarray): Use `xmalloc' instead of `malloc'.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lread.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dbdd1515605..e3353dd31ed 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-02-25 Gerd Moellmann <gerd@gnu.org> 12000-02-25 Gerd Moellmann <gerd@gnu.org>
2 2
3 * lread.c (Fload): Use `xfree' instead of `free'.
4 (init_obarray): Use `xmalloc' instead of `malloc'.
5
3 * window.c (Fset_window_buffer): Set WINDOW to the window 6 * window.c (Fset_window_buffer): Set WINDOW to the window
4 after decoding. 7 after decoding.
5 (coordinates_in_window): Take frame's internal border width 8 (coordinates_in_window): Take frame's internal border width
@@ -40,7 +43,7 @@
40 43
412000-02-22 Eli Zaretskii <eliz@is.elta.co.il> 442000-02-22 Eli Zaretskii <eliz@is.elta.co.il>
42 45
43 * frame.c (Fdelete_frame): Don't let echo_area_window to remain on 46 * frame.c (Fdelete_frame): Don't let echo_area_window remain on
44 a deleted frame. 47 a deleted frame.
45 48
462000-02-21 Gerd Moellmann <gerd@gnu.org> 492000-02-21 Gerd Moellmann <gerd@gnu.org>
diff --git a/src/lread.c b/src/lread.c
index 699c7fc2ef9..d6402b38da3 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -734,7 +734,7 @@ Return t if file exists.")
734 saved_doc_string_size = 0; 734 saved_doc_string_size = 0;
735 735
736 if (prev_saved_doc_string) 736 if (prev_saved_doc_string)
737 free (prev_saved_doc_string); 737 xfree (prev_saved_doc_string);
738 prev_saved_doc_string = 0; 738 prev_saved_doc_string = 0;
739 prev_saved_doc_string_size = 0; 739 prev_saved_doc_string_size = 0;
740 740
@@ -2915,7 +2915,7 @@ init_obarray ()
2915 staticpro (&Qvariable_documentation); 2915 staticpro (&Qvariable_documentation);
2916 2916
2917 read_buffer_size = 100 + MAX_MULTIBYTE_LENGTH; 2917 read_buffer_size = 100 + MAX_MULTIBYTE_LENGTH;
2918 read_buffer = (char *) malloc (read_buffer_size); 2918 read_buffer = (char *) xmalloc (read_buffer_size);
2919} 2919}
2920 2920
2921void 2921void