A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It's ok to pass NULL to xbt_free.
[simgrid.git]
/
src
/
smpi
/
smpi_replay.c
diff --git
a/src/smpi/smpi_replay.c
b/src/smpi/smpi_replay.c
index
4507d52
..
9151825
100644
(file)
--- a/
src/smpi/smpi_replay.c
+++ b/
src/smpi/smpi_replay.c
@@
-719,8
+719,11
@@
smpi_mpi_gatherv(send, send_size, MPI_CURRENT_TYPE,
#endif
log_timed_action (action, clock);
#endif
log_timed_action (action, clock);
+ xbt_free(recvcounts);
xbt_free(send);
xbt_free(recv);
xbt_free(send);
xbt_free(recv);
+ xbt_free(disps);
+
}
static void action_reducescatter(const char *const *action) {
}
static void action_reducescatter(const char *const *action) {
@@
-783,7
+786,8
@@
static void action_reducescatter(const char *const *action) {
#ifdef HAVE_TRACING
TRACE_smpi_collective_out(rank, -1, __FUNCTION__);
#endif
#ifdef HAVE_TRACING
TRACE_smpi_collective_out(rank, -1, __FUNCTION__);
#endif
-
+ xbt_free(recvcounts);
+ xbt_free(disps);
log_timed_action (action, clock);
}
log_timed_action (action, clock);
}