Subject: Re: bug#6414: f->output_data.w32->menubar_widget uninitialized?

From: Lennart Borgman <[email-masked]>
Date: Sun, 13 Jun 2010 20:47:51 +0200

On Sun, Jun 13, 2010 at 8:32 PM, Lennart Borgman
<[email-masked]> wrote:
> On Sun, Jun 13, 2010 at 8:01 PM, Lennart Borgman
> <[email-masked]> wrote:
>>
>> This gave me the output below which seems to indicate that
>> menubar_widget is uninitialized:
>>
>>  warning: free_frame_menubar.GetMenu.old=0, f=3146106, menubar_widget=329385
>>
>> Where should it be initialized?
>
>
> Looks like it is initialized at line 4928 in Fx_create_frame in
> w32fns.c so the problem must come in later.

The problem seems to be in x_free_frame_resources. Should not
free_frame_menubar be called before my_destroy_window there?