X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7da44b26eb7f4da0d4ce7672f479dea4d01767b3..d392e12b636f36992f66d04e1ebdd38a440b27c7:/examples/msg/properties/msg_prop.c diff --git a/examples/msg/properties/msg_prop.c b/examples/msg/properties/msg_prop.c index bfb563db43..5b36d02b2b 100644 --- a/examples/msg/properties/msg_prop.c +++ b/examples/msg/properties/msg_prop.c @@ -50,7 +50,7 @@ int alice(int argc, char *argv[]) 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(host1, exist);