summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-19 20:58:28 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-19 20:58:28 +0000
commit9d17a022b74a82bd2abcce5ae3580f5ef16aeee5 (patch)
tree6ae9758d98326b1fe7bb031965aa0fa79f544918 /src/frame.c
parent1ddc5fed3e1e1c540919c5882382f328d13484aa (diff)
downloademacs-9d17a022b74a82bd2abcce5ae3580f5ef16aeee5.tar.gz
(Fdelete_frame): Free f->namebuf.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index b9b99938ec5..b95f8a04e70 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -957,6 +957,8 @@ 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 (f->namebuf)
+ free (f->namebuf);
if (FRAME_CURRENT_GLYPHS (f))
free_frame_glyphs (f, FRAME_CURRENT_GLYPHS (f));
if (FRAME_DESIRED_GLYPHS (f))