rem: free(bPtr);
add: wfree(bPtr);
context: WMCreateBrowser(WMWidget *parent){    WMBrowser *bPtr;    int i;    wassertrv(parent, NULL);    bPtr = wmalloc(sizeof(WMBrowser));    memset(bPtr, 0, sizeof(WMBrowser));    bPtr->widgetClass = WC_Browser;    bPtr->view = W_CreateView(W_VIEW(parent));    if (!bPtr->view) {	free(bPtr);	return NULL;    }    bPtr->view->self = bPtr;    bPtr->view->delegate = &_BrowserViewDelegate;    WMCreateEventHandler(bPtr->view, ExposureMask|StructureNotifyMask			 |ClientMessageMask, handleEvents, bPtr);    /* default configuration */    bPtr->flags.hasScroller = DEFAULT_HAS_SCROLLER;    bPtr->titleHeight = DEFAULT_TITLE_HEIGHT;    bPtr->flags.isTitled = DEFAULT_IS_TITLED;    bPtr->maxVisibleColumns = DEFAULT_MAX_VISIBLE_COLUMNS;    WMResizeWidget(bPtr, DEFAULT_WIDTH, DEFAULT_HEIGHT);    bPtr->pathSeparator = wstrdup(DEFAULT_SEPARATOR);    if (bPtr->flags.hasScroller)	setupScroller(bPtr);    for (i=0; i<bPtr->maxVisibleColumns; i++) {	WMAddBrowserColumn(bPtr);    }    bPtr->usedColumnCount = 0;    bPtr->selectedColumn = -1;    return bPtr;}