path_name_len = strlen(path) + strlen(name) + 1; /* plus '/' */
path_name = xbt_realloc(path_name, path_name_len + 1);
}
+ #ifdef WIN32
+ sprintf(path_name, "%s\\%s", path, name);
+ #else
sprintf(path_name, "%s/%s", path, name);
+ #endif
file = fopen(path_name, mode);
if (file)
return file;
path_name = NULL;
}
surf_parse_free_callbacks();
+ xbt_dict_free(&route_table);
NOW=0; /* Just in case the user plans to restart the simulation afterward */
xbt_exit();
}