+ /* Let's create the process (SIMIX may decide to start it right now) */
+ simdata->s_process = SIMIX_req_process_create(name, code, (void *) process, host->name,
+ argc, argv, properties);
+
+ if (!simdata->s_process) {
+ /* Undo everything we have just changed */
+ msg_global->PID--;
+ xbt_fifo_remove(msg_global->process_list, process);
+ xbt_free(process->name);
+ xbt_free(process);
+ xbt_free(simdata);
+ return NULL;
+ }