rem: free(tPtr);
add: wfree(tPtr);
context: destroyTabView(TabView *tPtr){    int i;    for (i = 0; i < tPtr->itemCount; i++) {	WMSetTabViewItemView(tPtr->items[i], NULL);	WMDestroyTabViewItem(tPtr->items[i]);    }    free(tPtr->items);    WMReleaseColor(tPtr->lightGray);    WMReleaseColor(tPtr->tabColor);    WMReleaseFont(tPtr->font);    free(tPtr);}