-/* Copyright (c) 2010-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <stdio.h> /* snprintf */
-XBT_LOG_NEW_DEFAULT_CATEGORY(comm_waitall, "Messages specific for this msg example");
+XBT_LOG_NEW_DEFAULT_CATEGORY(comm_waitall, "Messages specific for this example");
static void sender(int argc, char* argv[])
{
/* Now that all message exchanges were initiated, wait for their completion in one single call */
sg_comm_wait_all(pending_comms, pending_comms_count);
- free(pending_comms);
- free(mboxes);
+ xbt_free(pending_comms);
+ xbt_free(mboxes);
XBT_INFO("Goodbye now!");
}