X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0398e492623cdd79abef6beb6819fda9d01b39c9..d2d9f8b0f434e881d124d81f655fc9ebb6f31199:/src/simix/smx_process.c diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index f2f550cebf..f02b306b05 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -8,7 +8,6 @@ #include "xbt/sysdep.h" #include "xbt/log.h" #include "xbt/dict.h" -#include "msg/mailbox.h" #include "mc/mc.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix, @@ -100,15 +99,12 @@ void SIMIX_process_empty_trash(void) SIMIX_context_free(process->context); /* Free the exception allocated at creation time */ - if (process->running_ctx) - free(process->running_ctx); - if (process->properties) - xbt_dict_free(&process->properties); + free(process->running_ctx); + xbt_dict_free(&process->properties); xbt_fifo_free(process->comms); free(process->name); - process->name = NULL; free(process); } }