From: Gerd Moellmann Date: Thu, 7 Dec 2000 11:43:06 +0000 (+0000) Subject: (x_destroy_window): Call x_free_gcs so that X-Git-Tag: emacs-pretest-21.0.93~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ca78676d23e085f6ba5a20e4af29f1058db420c;p=emacs.git (x_destroy_window): Call x_free_gcs so that resources of non-toolkit X windows will be freed. --- diff --git a/src/xterm.c b/src/xterm.c index f30ee0159fd..c0cfa0cb8df 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -12452,8 +12452,9 @@ x_destroy_window (f) unload_color (f, f->output_data.x->white_relief.pixel); if (f->output_data.x->black_relief.allocated_p) unload_color (f, f->output_data.x->black_relief.pixel); - + free_frame_faces (f); + x_free_gcs (f); XFlush (FRAME_X_DISPLAY (f)); }