Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add wait guide and mofidication for the heuristic computation
[simgrid.git] / examples / c / dht-kademlia / message.c
index bc5117479ed22ae6a0dca52285f04ad9ba884d5c..32a618a78d61a87e00f37b6b88432a1f686475ef 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2021. The SimGrid Team.
+/* Copyright (c) 2012-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -26,5 +26,5 @@ void free_message(void* message)
   const kademlia_message_t msg = (kademlia_message_t)message;
   if (msg)
     answer_free(msg->answer);
-  free(msg);
+  xbt_free(msg);
 }