--- rpl/src/instructions_d5.c 2010/05/06 15:02:43 1.18 +++ rpl/src/instructions_d5.c 2010/05/16 19:36:20 1.20 @@ -2694,7 +2694,6 @@ instruction_detach(struct_processus *s_e # endif free((*s_etat_processus).localisation); - free(s_etat_processus); free(s_argument_thread); # ifndef SEMAPHORES_NOMMES @@ -2713,8 +2712,11 @@ instruction_detach(struct_processus *s_e clear_history(); + free(s_etat_processus); + # ifdef DEBUG_MEMOIRE - debug_memoire_verification(s_etat_processus); + debug_memoire_verification(); + analyse_post_mortem(); # endif exit(EXIT_SUCCESS);