rem: item = tmp;
context: WMClearList(WMList *lPtr){    WMListItem *item, *tmp;    int oldSelected = lPtr->selectedItem;    item = lPtr->items;    while (item) {	free(item->text);	tmp = item->nextPtr;	free(item);	item = tmp;    }    lPtr->items = NULL;    lPtr->itemCount = 0;    lPtr->topItem = 0;    lPtr->selectedItem = -1;    if (!lPtr->idleID) {	WMDeleteIdleHandler(lPtr->idleID);	lPtr->idleID = NULL;    }    if (lPtr->view->flags.realized) {	updateScroller(lPtr);    }    if (oldSelected != -1)        WMPostNotificationName(WMListSelectionDidChangeNotification, lPtr,                               (void*)-1);}