From: Karl Heuer Date: Wed, 19 Apr 1995 20:58:28 +0000 (+0000) Subject: (Fdelete_frame): Free f->namebuf. X-Git-Tag: emacs-19.34~4363 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/60a8823e0bb5d17c322f13dae2702aab2c80e8c8?ds=sidebyside (Fdelete_frame): Free f->namebuf. --- diff --git a/src/frame.c b/src/frame.c index b9b99938ec..b95f8a04e7 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))