From: Martin Quinson Date: Thu, 23 May 2019 08:08:49 +0000 (+0200) Subject: Plug a memleak X-Git-Tag: v3.22.4~68 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/612f154fb83700bd9c58a2e72c2ce7d98db81824 Plug a memleak --- diff --git a/src/mc/sosp/mc_snapshot_test.cpp b/src/mc/sosp/mc_snapshot_test.cpp index 64fb6edb7f..eb8a84dfd0 100644 --- a/src/mc/sosp/mc_snapshot_test.cpp +++ b/src/mc/sosp/mc_snapshot_test.cpp @@ -187,6 +187,7 @@ void snap_test_helper::read_pointer() munmap(ret.src, ret.size); delete ret.region0; delete ret.region; + delete region2; } /*************** End: class snap_test_helper *****************************/