rem: free(name);
add: wfree(name);
context: renameCallback(WMenu *menu, WMenuEntry *entry){    WDock *dock = entry->clientdata;    char buffer[128];    int wspace;    char *name;    assert(entry->clientdata!=NULL);    wspace = dock->screen_ptr->current_workspace;    name = wstrdup(dock->screen_ptr->workspaces[wspace]->name);    sprintf(buffer, _("Type the name for workspace %i:"), wspace+1);    if (wInputDialog(dock->screen_ptr, _("Rename Workspace"), buffer,		     &name)) {	wWorkspaceRename(dock->screen_ptr, wspace, name);    }    if (name) {	free(name);    }}