rem: ws_name = malloc(length + 1);
add: ws_name = wmalloc(length + 1);
context: wClipIconPaint(WAppIcon *aicon){    WScreen *scr = aicon->icon->core->screen_ptr;    WWorkspace *workspace = scr->workspaces[scr->current_workspace];    GC gc;    Window win = aicon->icon->core->window;    int length, nlength;    char *ws_name, ws_number[10];    int ty, tx;    wIconPaint(aicon->icon);    length = strlen(workspace->name);    ws_name = malloc(length + 1);    sprintf(ws_name, "%s", workspace->name);    sprintf(ws_number, "%i", scr->current_workspace + 1);    nlength = strlen(ws_number);    gc = scr->clip_title_gc;    if (!workspace->clip->collapsed)        XSetForeground(dpy, gc, scr->clip_title_pixel[CLIP_NORMAL]);    else        XSetForeground(dpy, gc, scr->clip_title_pixel[CLIP_COLLAPSED]);    ty = ICON_SIZE - WMFontHeight(scr->clip_title_font) - 3;    tx = CLIP_BUTTON_SIZE*ICON_SIZE/64;    WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, tx,		 ty, ws_name, length);    tx = (ICON_SIZE/2 - WMWidthOfString(scr->clip_title_font, ws_number,					nlength))/2;    WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, tx,		 2, ws_number, nlength);    wfree(ws_name);    if (aicon->launching) {	XFillRectangle(dpy, aicon->icon->core->window, scr->stipple_gc,		       0, 0, wPreferences.icon_size, wPreferences.icon_size);    }    paintClipButtons(aicon, aicon->dock->lclip_button_pushed,		     aicon->dock->rclip_button_pushed);}