From e77f8049745d8d452303f2686b9f426cde155023 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 9 Dec 2017 20:15:48 +0100 Subject: [PATCH] explain to the users what's going on here --- examples/s4u/io-file-system/s4u-io-file-system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/s4u/io-file-system/s4u-io-file-system.cpp b/examples/s4u/io-file-system/s4u-io-file-system.cpp index 82570696d6..c676b079c2 100644 --- a/examples/s4u/io-file-system/s4u-io-file-system.cpp +++ b/examples/s4u/io-file-system/s4u-io-file-system.cpp @@ -84,7 +84,7 @@ public: file = new simgrid::s4u::File("/home/tmp/simgrid.readme", nullptr); XBT_INFO("Unlink file: '%s'", file->getPath()); file->unlink(); - delete file; + delete file; // Unlinking the file on "disk" does not free the object show_info(mounts); } -- 2.20.1