Syntax
void MenuItemFree( MenuItem *item );
Arguments
item the menu item to release, or NULL to do nothing.
Description
Release an item directly while you own it. Once a menu takes ownership of the item, release it through that menu. The application remains responsible for the data pointed to by the item's cargo.