rem: free(aicon->icon->file);
add: wfree(aicon->icon->file);
context: wDefaultUpdateIcons(WScreen *scr){    WAppIcon *aicon = scr->app_icon_list;    WWindow *wwin = scr->focused_window;    char *file;    while(aicon) {        file = wDefaultGetIconFile(scr, aicon->wm_instance, aicon->wm_class,				   False);        if ((file && aicon->icon->file && strcmp(file, aicon->icon->file)!=0)            || (file && !aicon->icon->file)) {            RImage *new_image;            if (aicon->icon->file)                free(aicon->icon->file);            aicon->icon->file = wstrdup(file);            new_image = wDefaultGetImage(scr, aicon->wm_instance,					 aicon->wm_class);            if (new_image) {                wIconChangeImage(aicon->icon, new_image);                wAppIconPaint(aicon);            }        }        aicon = aicon->next;    }    if (!wPreferences.flags.noclip)        wClipIconPaint(scr->clip_icon);    while (wwin) {        if (wwin->icon && wwin->flags.miniaturized) {            file = wDefaultGetIconFile(scr, wwin->wm_instance, wwin->wm_class,					False);            if ((file && wwin->icon->file && strcmp(file, wwin->icon->file)!=0)                || (file && !wwin->icon->file)) {                RImage *new_image;                if (wwin->icon->file)                    free(wwin->icon->file);                wwin->icon->file = wstrdup(file);                new_image = wDefaultGetImage(scr, wwin->wm_instance,					     wwin->wm_class);                if (new_image)                    wIconChangeImage(wwin->icon, new_image);            }        }        wwin = wwin->prev;    }}