From: mquinson Date: Tue, 11 Apr 2006 22:21:37 +0000 (+0000) Subject: Plug a memleak and shut it up X-Git-Tag: v3.3~3233 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/50b6bda2816a7b9f7859abdf9ef0f736ca533f80?hp=d467b61bdf76ec3433755ea3938d4cf4960bdc52 Plug a memleak and shut it up git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2125 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/Bandwidth/bandwidth.c b/src/amok/Bandwidth/bandwidth.c index 39bafa4039..8e51556b81 100644 --- a/src/amok/Bandwidth/bandwidth.c +++ b/src/amok/Bandwidth/bandwidth.c @@ -346,6 +346,7 @@ int amok_bw_cb_bw_request(gras_msg_cb_ctx_t ctx, gras_os_sleep(1); gras_socket_close(peer); + free(request->host.name); free(request); free(result); diff --git a/src/amok/Bandwidth/saturate.c b/src/amok/Bandwidth/saturate.c index dad459528d..ff025002c5 100644 --- a/src/amok/Bandwidth/saturate.c +++ b/src/amok/Bandwidth/saturate.c @@ -174,7 +174,7 @@ void amok_bw_saturate_begin(const char* to_name,unsigned int to_port, /* Check whether the experiment has to be terminated by now */ elapsed=gras_os_time()-start; - INFO2("elapsed %f duration %f",elapsed, duration); + VERB2("elapsed %f duration %f",elapsed, duration); } while (saturate_further && elapsed < duration);