rem: free(shortcut);
add: wfree(shortcut);
context: sgrabClicked(WMWidget *w, void *data){    _Panel *panel = (_Panel*)data;    Display *dpy = WMScreenDisplay(WMWidgetScreen(panel->win));    char *shortcut;        if (w == panel->sclearB) {	WMSetTextFieldText(panel->shortT, "");	updateMenuItem(panel, panel->currentItem, panel->shortT);	return;    }        if (!panel->capturing) {	panel->capturing = 1;	WMSetButtonText(w, _("Cancel"));	XGrabKeyboard(dpy, WMWidgetXID(panel->win), True, GrabModeAsync,		      GrabModeAsync, CurrentTime);	shortcut = captureShortcut(dpy, panel);	if (shortcut) {	    WMSetTextFieldText(panel->shortT, shortcut);	    updateMenuItem(panel, panel->currentItem, panel->shortT);	    free(shortcut);	}    }    panel->capturing = 0;    WMSetButtonText(w, _("Capture"));    XUngrabKeyboard(dpy, CurrentTime);}