p_module->p_config[i].saved.psz = NULL;
}
- p_module->p_config[i].psz_type = strdupnull (p_orig[i].psz_type);
+ p_module->p_config[i].psz_type = p_orig[i].psz_type;
p_module->p_config[i].psz_name = p_orig[i].psz_name;
- p_module->p_config[i].psz_current = strdupnull (p_orig[i].psz_current);
+ p_module->p_config[i].psz_current = p_orig[i].psz_current;
p_module->p_config[i].psz_text = p_orig[i].psz_text;
p_module->p_config[i].psz_longtext = p_orig[i].psz_longtext;
free( (char*) p_item->psz_type );
free( (char*) p_item->psz_name );
- free( (char*) p_item->psz_current );
free( (char*) p_item->psz_text );
free( (char*) p_item->psz_longtext );