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
Plug a memleak
[simgrid.git]
/
src
/
amok
/
Bandwidth
/
saturate.c
diff --git
a/src/amok/Bandwidth/saturate.c
b/src/amok/Bandwidth/saturate.c
index
bdd42d9
..
033227d
100644
(file)
--- a/
src/amok/Bandwidth/saturate.c
+++ b/
src/amok/Bandwidth/saturate.c
@@
-298,4
+298,5
@@
void amok_bw_saturate_stop(const char* from_name,unsigned int from_port,
gras_socket_close(sock);
if (time) *time=answer->sec;
if (bw) *bw =answer->bw;
gras_socket_close(sock);
if (time) *time=answer->sec;
if (bw) *bw =answer->bw;
+ free(answer);
}
}