summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0c22d77)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5755
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
static void cpu_free(void *cpu)
{
free(((cpu_Cas01_t) cpu)->name);
static void cpu_free(void *cpu)
{
free(((cpu_Cas01_t) cpu)->name);
+ xbt_dict_free(&(((cpu_Cas01_t)cpu)->properties));
static void link_free(void *nw_link)
{
free(((link_CM02_t) nw_link)->name);
static void link_free(void *nw_link)
{
free(((link_CM02_t) nw_link)->name);
+ xbt_dict_free(&(((link_CM02_t)nw_link)->properties));
static void link_free(void *nw_link)
{
free(((network_link_GTNETS_t) nw_link)->name);
static void link_free(void *nw_link)
{
free(((network_link_GTNETS_t) nw_link)->name);
+ xbt_dict_free(&(((network_link_GTNETS_t)nw_link)->properties));
gtnets_link->lat_current = lat;
gtnets_link->id = link_count;
/* Add the properties */
gtnets_link->lat_current = lat;
gtnets_link->id = link_count;
/* Add the properties */
- gtnets_link->properties = current_property_set;
+ gtnets_link->properties = props;
xbt_dict_set(link_set, name, gtnets_link, link_free);
xbt_dict_set(link_set, name, gtnets_link, link_free);
static void cpu_free(void *cpu)
{
free(((cpu_L07_t) cpu)->name);
static void cpu_free(void *cpu)
{
free(((cpu_L07_t) cpu)->name);
+ xbt_dict_free(&(((cpu_L07_t)cpu)->properties));
static void link_free(void *nw_link)
{
free(((link_L07_t) nw_link)->name);
static void link_free(void *nw_link)
{
free(((link_L07_t) nw_link)->name);
+ xbt_dict_free(&(((link_L07_t)nw_link)->properties));