diff options
| author | Richard M. Stallman | 1994-09-23 04:54:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-23 04:54:46 +0000 |
| commit | 4eacadbd669baf41c5bb61edd917db2d850e2b22 (patch) | |
| tree | 539106fa367181f9ab79432871faf20d35872473 /src/xterm.c | |
| parent | 3db0cdac4986393dab7978ef2a31deb4daee6a11 (diff) | |
| download | emacs-4eacadbd669baf41c5bb61edd917db2d850e2b22.tar.gz emacs-4eacadbd669baf41c5bb61edd917db2d850e2b22.zip | |
(x_destroy_window): Decrement ref count of x_screen struct.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 475e4b9b7dd..34b07de3c7d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5161,6 +5161,12 @@ x_destroy_window (f) | |||
| 5161 | free_frame_faces (f); | 5161 | free_frame_faces (f); |
| 5162 | XFlushQueue (); | 5162 | XFlushQueue (); |
| 5163 | 5163 | ||
| 5164 | FRAME_X_SCREEN (f)->reference_count--; | ||
| 5165 | #if 0 | ||
| 5166 | if (FRAME_X_SCREEN (f)->reference_count == 0) | ||
| 5167 | free (FRAME_X_SCREEN (f)); | ||
| 5168 | #endif | ||
| 5169 | |||
| 5164 | xfree (f->display.x); | 5170 | xfree (f->display.x); |
| 5165 | f->display.x = 0; | 5171 | f->display.x = 0; |
| 5166 | if (f == x_focus_frame) | 5172 | if (f == x_focus_frame) |