From: Arnaud Giersch Date: Sat, 22 Feb 2020 09:54:32 +0000 (+0100) Subject: Use the right free function. X-Git-Tag: v3.26~916 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/231362a55c6cd9c633c195b1f9d2b6adf9650fdb?hp=7737fe83b6997840d056ade87e2775333e5f620f Use the right free function. --- diff --git a/teshsuite/s4u/evaluate-parse-time/evaluate-parse-time.cpp b/teshsuite/s4u/evaluate-parse-time/evaluate-parse-time.cpp index 2eb12c6fc0..cebfa6c71c 100644 --- a/teshsuite/s4u/evaluate-parse-time/evaluate-parse-time.cpp +++ b/teshsuite/s4u/evaluate-parse-time/evaluate-parse-time.cpp @@ -28,6 +28,6 @@ int main(int argc, char** argv) xbt_os_sleep(atoi(argv[2])); } - free(timer); + xbt_os_timer_free(timer); return 0; }