rem: tmp = malloc(strlen(path)+2); assert(tmp!=NULL); strcpy(tmp, path);  return tmp;
add: return path;
context: globalDefaultsPathForDomain(char *domain){    char path[1024];    char *tmp;    sprintf(path, "%s/WindowMaker/%s", SYSCONFDIR, domain);    tmp = malloc(strlen(path)+2);    assert(tmp!=NULL);    strcpy(tmp, path);    return tmp;}