rem: free(file);
add: wfree(file);
context: chooseIconCallback(WMWidget *self, void *clientData){    char *file;    AppSettingsPanel *panel = (AppSettingsPanel*)clientData;    int result;    panel->choosingIcon = 1;    WMSetButtonEnabled(panel->browseBtn, False);    result = wIconChooserDialog(panel->wwin->screen_ptr, &file,				panel->editedIcon->wm_instance,				panel->editedIcon->wm_class);    panel->choosingIcon = 0;    if (!panel->destroyed) {	if (result) {	    WMSetTextFieldText(panel->iconField, file);	    free(file);	    updateSettingsPanelIcon(panel);	}	WMSetButtonEnabled(panel->browseBtn, True);    } else {	/* kluge for the case, the user asked to close the panel before	 * the icon chooser */	DestroyDockAppSettingsPanel(panel);    }}