Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let the state in a coherent state after MSG_clean()
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 May 2007 09:26:54 +0000 (09:26 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 May 2007 09:26:54 +0000 (09:26 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3512 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/global.c

index c45f951..c8ae395 100644 (file)
@@ -497,6 +497,7 @@ MSG_error_t MSG_clean(void)
   }
   msg_config_finalize();
   free(msg_global);
   }
   msg_config_finalize();
   free(msg_global);
+  msg_global = NULL;
   surf_exit();
 
   return MSG_OK;
   surf_exit();
 
   return MSG_OK;