rem: free(ptr);
add: wfree(ptr);
context: removeShortcutsForMenu(WMenu *menu){    Shortcut *ptr, *tmp;    Shortcut *newList = NULL;    ptr = shortcutList;    while (ptr!=NULL) {	tmp = ptr->next;	if (ptr->menu == menu) {	    free(ptr);	} else {	    ptr->next = newList;	    newList = ptr;	}	ptr = tmp;    }    shortcutList = newList;    menu->menu->screen_ptr->flags.root_menu_changed_shortcuts = 1;}