From 60a8823e0bb5d17c322f13dae2702aab2c80e8c8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 19 Apr 1995 20:58:28 +0000 Subject: [PATCH] (Fdelete_frame): Free f->namebuf. --- src/frame.c | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.5