X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9c05f2716e83f1a744879c87f5cb29d5e230b92..f365d61a634d854a3244979c0524de3cf3a74f72:/examples/msg/properties/msg_prop.c diff --git a/examples/msg/properties/msg_prop.c b/examples/msg/properties/msg_prop.c index 34890710f5..051ba16380 100644 --- a/examples/msg/properties/msg_prop.c +++ b/examples/msg/properties/msg_prop.c @@ -51,7 +51,7 @@ static void test_host(const char*hostname) XBT_INFO(" Property: %s old value: %s", exist, value); XBT_INFO("== Trying to modify a host property"); - xbt_dict_set(props, exist, xbt_strdup("250"), xbt_free_f); + xbt_dict_set(props, exist, xbt_strdup("250"), NULL); /* Test if we have changed the value */ value = MSG_host_get_property_value(thehost, exist);