changeset 34318:d302f6935ff8

(x_destroy_window): Call x_free_gcs so that resources of non-toolkit X windows will be freed.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 07 Dec 2000 11:43:06 +0000
parents 0378b3d77144
children d446a08a996e
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Dec 07 10:55:39 2000 +0000
+++ b/src/xterm.c	Thu Dec 07 11:43:06 2000 +0000
@@ -12452,8 +12452,9 @@
 	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));
     }