]> AND Public Git Repository - simgrid.git/blobdiff - src/msg/host.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add extra argument "priority" to SIMIX_req_host_execute.
[simgrid.git] / src / msg / host.c
index 8d8c075773b7fc280317cad93dcd6124c1f57e3e..f5cbf871e1719c6158493837674156e6cc9f14fe 100644 (file)
@@ -50,7 +50,7 @@ m_host_t __MSG_host_create(smx_host_t workstation, void *data)
     sprintf(alias, "%s:%d", name, i);
 
     /* the key of the mailbox (in this case) is build from the name of the host and the channel number */
-    simdata->mailboxes[i] = MSG_mailbox_new(xbt_strdup(alias));
+    simdata->mailboxes[i] = MSG_mailbox_new(alias);
     memset(alias, 0, MAX_ALIAS_NAME + 1);
   }