I'm hoping this fixes the memory leaks Martin is seeing. But I don't have
purify ....
andy
1999-12-28 Andy Piper <andy(a)xemacs.org>
* menubar-x.c (menu_item_descriptor_to_widget_value_1): strdup
string_chars.
(menu_item_descriptor_to_widget_value_1): strdup name.
(pre_activate_callback): strdup name.
* scrollbar-x.c (scrollbar_instance_to_widget_value): strdup name.
(x_update_scrollbar_instance_status): use free_widget_value_tree.
* dialog-x.c (maybe_run_dbox_text_callback): strdup name. use
free_widget_value_tree.
(dbox_descriptor_to_widget_value): ditto.
* gui-x.c (widget_value_unwind): use free_widget_value_tree.
(gui_items_to_widget_values_1): ditto.
(gui_items_to_widget_values): ditto.
(free_popup_widget_value_tree): free name.
* redisplay-output.c (redisplay_display_boxes_in_window_p): mild
Martin-style fiddling.
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd
Show replies by date