From ebbb61be878ccf27c354fc86de4369c879cf2f74 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 17 May 2007 00:01:32 +0000 Subject: [PATCH] (x_create_tip_frame): Set terminal and ref count. --- src/w32fns.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- 2.39.5