-/* Copyright (c) 2012-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-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. */
static void broadcaster_destroy(broadcaster_t bc)
{
- free(bc->pending_sends);
- free(bc->mailboxes);
- free(bc);
+ xbt_free(bc->pending_sends);
+ xbt_free(bc->mailboxes);
+ xbt_free(bc);
}
/** Emitter function */