-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
res->index = comm->index;
res->type = comm->type;
res->comm_addr = comm->comm_addr;
- res->rdv = strdup(comm->rdv);
+ res->rdv = xbt_strdup(comm->rdv);
res->data_size = -1;
res->data = NULL;
if (comm->type == SIMIX_COMM_SEND) {