X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/237fd22b56db7d1c67360c37559ce3aab16a002d..85f2d2b7075a3104ccf23b83f926c0513cac9600:/examples/c/exec-waitany/exec-waitany.c diff --git a/examples/c/exec-waitany/exec-waitany.c b/examples/c/exec-waitany/exec-waitany.c index e65ade7005..bfff989960 100644 --- a/examples/c/exec-waitany/exec-waitany.c +++ b/examples/c/exec-waitany/exec-waitany.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2019-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-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. */ @@ -58,7 +58,7 @@ static void worker(int argc, char* argv[]) XBT_INFO("%d activities remain pending", pending_execs_count); } - free(pending_execs); + xbt_free(pending_execs); } int main(int argc, char* argv[])