rem: free(sPtr);
add: wfree(sPtr);
context: WMCreateSlider(WMWidget *parent){    Slider *sPtr;    sPtr = wmalloc(sizeof(Slider));    memset(sPtr, 0, sizeof(Slider));    sPtr->widgetClass = WC_Slider;        sPtr->view = W_CreateView(W_VIEW(parent));    if (!sPtr->view) {	free(sPtr);	return NULL;    }    sPtr->view->self = sPtr;    sPtr->view->delegate = &_SliderViewDelegate;    WMCreateEventHandler(sPtr->view, ExposureMask|StructureNotifyMask,			 handleEvents, sPtr);    WMCreateEventHandler(sPtr->view, ButtonPressMask|ButtonReleaseMask			 |EnterWindowMask|LeaveWindowMask|ButtonMotionMask,			 handleActionEvents, sPtr);    W_ResizeView(sPtr->view, 100, 16);    sPtr->flags.vertical = 0;    sPtr->minValue = 0;    sPtr->maxValue = 100;    sPtr->value = 50;    sPtr->knobThickness = 20;    sPtr->flags.continuous = 1;        WMAddNotificationObserver(realizeObserver, sPtr, 			      WMViewRealizedNotification, sPtr->view);    return sPtr;}