rem: free(path);
add: wfree(path);
context: getWindowMakerIconImage(WMScreen *scr){    proplist_t dict, key, option, value=NULL;    WMPixmap *pix=NULL;    char *path;    PLSetStringCmpHook(NULL);    key = PLMakeString("Logo.WMPanel");    option = PLMakeString("Icon");    dict = PLGetDictionaryEntry(WDWindowAttributes->dictionary, key);    if (dict) {        value = PLGetDictionaryEntry(dict, option);    }    PLRelease(key);    PLRelease(option);    PLSetStringCmpHook(StringCompareHook);    if (value && PLIsString(value)) {        path = FindImage(wPreferences.icon_path, PLGetString(value));        if (path) {            RImage *image;            image = RLoadImage(WMScreenRContext(scr), path, 0);            if (image) {                pix = WMCreatePixmapFromRImage(scr, image, 0);                RDestroyImage(image);            }            free(path);        }    }    return pix;}