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
d2bee99e
Commit
d2bee99e
authored
Aug 30, 1994
by
Richard M. Stallman
Browse files
(Fdelete_frame): Free the frame's glyphs arrays.
Free the line insert/delete cost vectors.
parent
05233a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/frame.c
src/frame.c
+15
-0
No files found.
src/frame.c
View file @
d2bee99e
...
...
@@ -876,6 +876,21 @@ but if the second optional argument FORCE is non-nil, you may do so.")
Vframe_list
=
Fdelq
(
frame
,
Vframe_list
);
FRAME_SET_VISIBLE
(
f
,
0
);
if
(
FRAME_CURRENT_GLYPHS
(
f
))
free_frame_glyphs
(
f
,
FRAME_CURRENT_GLYPHS
(
f
));
if
(
FRAME_DESIRED_GLYPHS
(
f
))
free_frame_glyphs
(
f
,
FRAME_DESIRED_GLYPHS
(
f
));
if
(
FRAME_TEMP_GLYPHS
(
f
))
free_frame_glyphs
(
f
,
FRAME_TEMP_GLYPHS
(
f
));
if
(
FRAME_INSERT_COST
(
f
))
free
(
FRAME_INSERT_COST
(
f
));
if
(
FRAME_DELETEN_COST
(
f
))
FRAME_DELETEN_COST
(
f
);
if
(
FRAME_INSERTN_COST
(
f
))
FRAME_INSERTN_COST
(
f
);
if
(
FRAME_DELETE_COST
(
f
))
FRAME_DELETE_COST
(
f
);
/* Since some events are handled at the interrupt level, we may get
an event for f at any time; if we zero out the frame's display
now, then we may trip up the event-handling code. Instead, we'll
...
...
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