Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't push null request back in the dynar
authorAugustin Degomme <augustin.degomme@imag.fr>
Thu, 30 Oct 2014 13:48:55 +0000 (14:48 +0100)
committerAugustin Degomme <augustin.degomme@imag.fr>
Thu, 30 Oct 2014 13:49:21 +0000 (14:49 +0100)
src/smpi/smpi_replay.c

index a8ffb17..685f7f3 100644 (file)
@@ -364,6 +364,7 @@ static void action_test(const char *const *action){
   /* push back request in dynar to be caught by a subsequent wait. if the test
    * did succeed, the request is now NULL.
    */
+   if(request)
   xbt_dynar_push_as(reqq[smpi_process_index()],MPI_Request, request);
 
 #ifdef HAVE_TRACING