rem: free(path);
add: wfree(path);
context: loadImage(RContext *rc, char *file){    char *path;    RImage *image;    if (access(file, F_OK)!=0) {	path = wfindfile(PixmapPath, file);	if (!path) {	    wwarning("%s:could not find image file used in texture", file);	    return NULL;	}    } else {	path = wstrdup(file);    }    image = RLoadImage(rc, path, 0);    if (!image) {	wwarning("%s:could not load image file used in texture:%s", path,		 RMessageForError(RErrorCode));    }    free(path);    return image;}