# HG changeset patch # User Gerd Moellmann # Date 976189386 0 # Node ID d302f6935ff842034dc1eb74fc973b1243c7e5f1 # Parent 0378b3d771444e89584d32ed1e790f5f13ac79c6 (x_destroy_window): Call x_free_gcs so that resources of non-toolkit X windows will be freed. diff -r 0378b3d77144 -r d302f6935ff8 src/xterm.c --- 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)); }