rem: menus = WMCreatePLDictionary(NULL, NULL, NULL);
add: menus = WMCreatePLDictionary(NULL, NULL);
context: wMenuSaveState(WScreen *scr){    WMPropList *menus, *key;    int save_menus = 0;    menus = WMCreatePLDictionary(NULL, NULL, NULL);#ifndef LITE    if (scr->switch_menu && scr->switch_menu->flags.buttoned) {        key = WMCreatePLString("SwitchMenu");        saveMenuInfo(menus, scr->switch_menu, key);        WMReleasePropList(key);        save_menus = 1;    }    if (saveMenuRecurs(menus, scr, scr->root_menu))        save_menus = 1;#endif /* !LITE */    if (scr->workspace_menu && scr->workspace_menu->flags.buttoned) {        key = WMCreatePLString("WorkspaceMenu");        saveMenuInfo(menus, scr->workspace_menu, key);        WMReleasePropList(key);        save_menus = 1;    }    if (save_menus) {        key = WMCreatePLString("Menus");        WMPutInPLDictionary(scr->session_state, key, menus);        WMReleasePropList(key);    }    WMReleasePropList(menus);}