Mercurial > emacs
diff src/xterm.c @ 37212:5c27e50f91d1
(x_free_frame_resources) [USE_X_TOOLKIT]: Set
f->output_data.x->widget to null after destroying it.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 05 Apr 2001 13:08:21 +0000 |
parents | 3799cab1815b |
children | 3ae3b09f76a1 |
line wrap: on
line diff
--- a/src/xterm.c Thu Apr 05 13:07:44 2001 +0000 +++ b/src/xterm.c Thu Apr 05 13:08:21 2001 +0000 @@ -12821,7 +12821,10 @@ #ifdef USE_X_TOOLKIT if (f->output_data.x->widget) - XtDestroyWidget (f->output_data.x->widget); + { + XtDestroyWidget (f->output_data.x->widget); + f->output_data.x->widget = NULL; + } free_frame_menubar (f); #endif /* USE_X_TOOLKIT */