Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Free globals before exit in timer example.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 6 Jul 2011 12:27:19 +0000 (14:27 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 18 Jul 2011 13:00:17 +0000 (15:00 +0200)
examples/gras/timer/timer.c

index 22be3d2..c2c16d2 100644 (file)
@@ -85,5 +85,6 @@ int client(int argc, char *argv[])
     gras_msg_handle(5.0);
   }
   gras_exit();
     gras_msg_handle(5.0);
   }
   gras_exit();
+  xbt_free(globals);
   return 0;
 }                               /* end_of_client */
   return 0;
 }                               /* end_of_client */