aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-30 07:17:49 +0000
committerRichard M. Stallman1994-08-30 07:17:49 +0000
commitd2bee99ea5309cd877ca24841b62440eff8341ab (patch)
treebeeeba9239630be55614fe8836c1b93efc549ce8
parent05233a7d92eba7e4f3e324b947501c0c3b5cddde (diff)
downloademacs-d2bee99ea5309cd877ca24841b62440eff8341ab.tar.gz
emacs-d2bee99ea5309cd877ca24841b62440eff8341ab.zip
(Fdelete_frame): Free the frame's glyphs arrays.
Free the line insert/delete cost vectors.
-rw-r--r--src/frame.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 35007249dd8..be683401de5 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -876,6 +876,21 @@ but if the second optional argument FORCE is non-nil, you may do so.")
876 Vframe_list = Fdelq (frame, Vframe_list); 876 Vframe_list = Fdelq (frame, Vframe_list);
877 FRAME_SET_VISIBLE (f, 0); 877 FRAME_SET_VISIBLE (f, 0);
878 878
879 if (FRAME_CURRENT_GLYPHS (f))
880 free_frame_glyphs (f, FRAME_CURRENT_GLYPHS (f));
881 if (FRAME_DESIRED_GLYPHS (f))
882 free_frame_glyphs (f, FRAME_DESIRED_GLYPHS (f));
883 if (FRAME_TEMP_GLYPHS (f))
884 free_frame_glyphs (f, FRAME_TEMP_GLYPHS (f));
885 if (FRAME_INSERT_COST (f))
886 free (FRAME_INSERT_COST (f));
887 if (FRAME_DELETEN_COST (f))
888 FRAME_DELETEN_COST (f);
889 if (FRAME_INSERTN_COST (f))
890 FRAME_INSERTN_COST (f);
891 if (FRAME_DELETE_COST (f))
892 FRAME_DELETE_COST (f);
893
879 /* Since some events are handled at the interrupt level, we may get 894 /* Since some events are handled at the interrupt level, we may get
880 an event for f at any time; if we zero out the frame's display 895 an event for f at any time; if we zero out the frame's display
881 now, then we may trip up the event-handling code. Instead, we'll 896 now, then we may trip up the event-handling code. Instead, we'll