rem: adict = WMCreatePLDictionary(NULL, NULL, NULL);
add: adict = WMCreatePLDictionary(NULL, NULL);
context: saveIconNameFor(char *iconPath, char *wm_instance, char *wm_class){    WMPropList *dict = WDWindowAttributes->dictionary;    WMPropList *adict, *key, *iconk;    WMPropList *val;    char *tmp;    int i;    i = 0;    if (wm_instance)	i += strlen(wm_instance);    if (wm_class)	i += strlen(wm_class);    tmp = wmalloc(i+8);    *tmp = 0;    if (wm_class && wm_instance) {	sprintf(tmp, "%s.%s", wm_instance, wm_class);    } else {	if (wm_instance)	    strcat(tmp, wm_instance);	if (wm_class)	    strcat(tmp, wm_class);    }        key = WMCreatePLString(tmp);     wfree(tmp);    adict = WMGetFromPLDictionary(dict, key);        iconk = WMCreatePLString("Icon");        if (adict) {	val = WMGetFromPLDictionary(adict, iconk);    } else {	/* no dictionary for app, so create one */	adict = WMCreatePLDictionary(NULL, NULL, NULL);	WMPutInPLDictionary(dict, key, adict);	WMReleasePropList(adict);	val = NULL;    }    if (!val) {	val = WMCreatePLString(iconPath);	WMPutInPLDictionary(adict, iconk, val);	WMReleasePropList(val);    }    WMReleasePropList(key);    WMReleasePropList(iconk);    if (val && !wPreferences.flags.noupdates) {        UpdateDomainFile(WDWindowAttributes);    }}