| 1416 | } |
| 1417 | |
| 1418 | static void |
| 1419 | free_menu_line_entries(struct menu *mp) |
| 1420 | { |
| 1421 | /* We're not freeing menu entry widgets here, but let XtDestroyWidget() |
| 1422 | on the parent widget take care of that */ |
| 1423 | while (mp->base) { |
| 1424 | mp->last = mp->base; |
| 1425 | mp->base = mp->base->next; |
| 1426 | free((genericptr_t) mp->last->str); |
| 1427 | free((genericptr_t) mp->last); |
| 1428 | } |
| 1429 | } |
| 1430 | |
| 1431 | static void |
| 1432 | free_menu(struct menu *mp) |
no outgoing calls
no test coverage detected