Lennart Borgman (gmail) wrote:
Thanks, but is there a global variable wv? Do you mean
current_popup_menu? Is that what is freed in w32_free_menu_strings?
That is called right after discard_menu_item.
So I still do not understand.
Indeed it is w32_free_menu_strings that is the function I was thinking
of, current_popup_menu is the Windows menu handle, and it seems the data
I was thinking of is not stored as global variable but accessible
through the menu handle. It is current_popup_menu that is the problem
here, when the first menu's strings are being freed, current_popup_menu
is actually pointing to the second menu. Looking at the code, we may be
able to move things around to avoid this.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug