From: Jason Rumney Date: Thu, 17 May 2007 00:01:32 +0000 (+0000) Subject: (x_create_tip_frame): Set terminal and ref count. X-Git-Tag: emacs-pretest-23.0.90~11236^2~101 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebbb61be878ccf27c354fc86de4369c879cf2f74;p=emacs.git (x_create_tip_frame): Set terminal and ref count. --- diff --git a/src/w32fns.c b/src/w32fns.c index 89637284a39..7c46615478a 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -7247,6 +7247,8 @@ x_create_tip_frame (dpyinfo, parms, text) the frame is live, as per FRAME_LIVE_P. If we get a signal from this point on, x_destroy_window might screw up reference counts etc. */ + f->terminal = dpyinfo->terminal; + f->terminal->reference_count++; f->output_method = output_w32; f->output_data.w32 = (struct w32_output *) xmalloc (sizeof (struct w32_output));