Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
It's ok to pass NULL to xbt_free.
[simgrid.git] / src / smpi / smpi_replay.c
index e8f0ada..9151825 100644 (file)
@@ -721,7 +721,7 @@ smpi_mpi_gatherv(send, send_size, MPI_CURRENT_TYPE,
   log_timed_action (action, clock);
   xbt_free(recvcounts);
   xbt_free(send);
-  if(recv)xbt_free(recv);
+  xbt_free(recv);
   xbt_free(disps);
 
 }