rem: free(path);
add: wfree(path);
context: wDefaultGetImage(WScreen *scr, char *winstance, char *wclass){    char *file_name;    char *path;    RImage *image;    file_name = wDefaultGetIconFile(scr, winstance, wclass, False);    if (!file_name)	return NULL;        path = FindImage(wPreferences.icon_path, file_name);        if (!path) {	wwarning(_("could not find icon file \"%s\""), file_name);	return NULL;    }        image = RLoadImage(scr->rcontext, path, 0);    if (!image) {	wwarning(_("error loading image file \"%s\""), path, RMessageForError(RErrorCode));    }    free(path);    image = wIconValidateIconSize(scr, image);    return image;}