rem: tmp = malloc(strlen(path)+2); strcpy(tmp, path);  return tmp;
add: return path;
context: defaultsPathForDomain(char *domain){    char path[1024];    char *gspath, *tmp;    gspath = getenv("GNUSTEP_USER_ROOT");    if (gspath) {	strcpy(path, gspath);	strcat(path, "/");    } else {	char *home;		home = getenv("HOME");	if (!home) {	    printf("%s:could not get HOME environment variable!\n", ProgName);	    exit(0);	}	strcpy(path, home);	strcat(path, "/GNUstep/");    }    strcat(path, DEFAULTS_DIR);    strcat(path, "/");    strcat(path, domain);    tmp = malloc(strlen(path)+2);    strcpy(tmp, path);        return tmp;}