From: Frederic Suter Date: Thu, 23 Nov 2017 18:05:05 +0000 (+0100) Subject: delete extension on destruction X-Git-Tag: v3.18~250 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fdf54308bb96949e5bfadce87f2c3b394d2f77b8 delete extension on destruction --- diff --git a/src/s4u/s4u_file.cpp b/src/s4u/s4u_file.cpp index cd89f9918f..a78e0f93b1 100644 --- a/src/s4u/s4u_file.cpp +++ b/src/s4u/s4u_file.cpp @@ -210,7 +210,7 @@ static void onStorageCreation(simgrid::s4u::Storage& st) static void onStorageDestruction(simgrid::s4u::Storage& st) { - XBT_INFO("BLIH"); + delete st.extension(); } /* **************************** Public interface *************************** */