Commit fdbd21a4 authored by Werner Meisner's avatar Werner Meisner Committed by Chong Yidong
Browse files

* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).

parent e6cf7a82
2011-01-23 Werner Meisner <>
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference
2010-05-07 Chong Yidong <>
* Version 23.2 released.
......@@ -825,7 +825,7 @@ xm_update_menu (instance, widget, val, deep_p)
/* Now replace from scratch all the buttons after the last
place that the top-level structure changed. */
if (val->contents->change == STRUCTURAL_CHANGE)
if (val->contents && val->contents->change == STRUCTURAL_CHANGE)
destroy_all_children (widget, num_children_to_keep);
make_menu_in_widget (instance, widget, val->contents,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment