rem: free(tPtr);
add: wfree(tPtr);
context: WMCreateTabView(WMWidget *parent){    TabView *tPtr;    WMScreen *scr = WMWidgetScreen(parent);    tPtr = wmalloc(sizeof(TabView));    memset(tPtr, 0, sizeof(TabView));    tPtr->widgetClass = WC_TabView;    tPtr->view = W_CreateView(W_VIEW(parent));    if (!tPtr->view) {	free(tPtr);	return NULL;    }    tPtr->view->self = tPtr;    tPtr->lightGray = WMCreateRGBColor(scr, 0xd9d9, 0xd9d9, 0xd9d9, False);    tPtr->tabColor = WMCreateRGBColor(scr, 0x8420, 0x8420, 0x8420, False);    tPtr->font = WMRetainFont(scr->normalFont);    WMCreateEventHandler(tPtr->view, ExposureMask|StructureNotifyMask			 |ButtonPressMask, handleEvents, tPtr);    WMResizeWidget(tPtr, DEFAULT_WIDTH, DEFAULT_HEIGHT);    tPtr->tabHeight = WMFontHeight(tPtr->font) + 3;    return tPtr;}