Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Plug a memleak and shut it up
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Apr 2006 22:21:37 +0000 (22:21 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Apr 2006 22:21:37 +0000 (22:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2125 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/amok/Bandwidth/bandwidth.c
src/amok/Bandwidth/saturate.c

index 39bafa4..8e51556 100644 (file)
@@ -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);
   
index dad4595..ff02500 100644 (file)
@@ -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);