Mercurial > emacs
changeset 9011:cece83c47ca5
(x_destroy_window): Decrement ref count of x_screen struct.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 23 Sep 1994 04:54:46 +0000 |
parents | 9d48b6752dbf |
children | 3c3786c4c56f |
files | src/xterm.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri Sep 23 04:37:16 1994 +0000 +++ b/src/xterm.c Fri Sep 23 04:54:46 1994 +0000 @@ -5161,6 +5161,12 @@ free_frame_faces (f); XFlushQueue (); + FRAME_X_SCREEN (f)->reference_count--; +#if 0 + if (FRAME_X_SCREEN (f)->reference_count == 0) + free (FRAME_X_SCREEN (f)); +#endif + xfree (f->display.x); f->display.x = 0; if (f == x_focus_frame)