X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a5768f8725f95079064178fcbb020eea94ae19b7..9616e469135a02323c3ca9d9e60e5a2e4958efbf:/src/mc/mc_snapshot.cpp?ds=sidebyside diff --git a/src/mc/mc_snapshot.cpp b/src/mc/mc_snapshot.cpp index 35276ca016..ce9b138c04 100644 --- a/src/mc/mc_snapshot.cpp +++ b/src/mc/mc_snapshot.cpp @@ -164,11 +164,11 @@ Snapshot::Snapshot() : stack_sizes(), stacks(nullptr), to_ignore(nullptr), - hash(0), - ignored_data(nullptr) + hash(0) { } + Snapshot::~Snapshot() { for (size_t i = 0; i < this->snapshot_regions_count; i++) { @@ -177,7 +177,6 @@ Snapshot::~Snapshot() xbt_free(this->snapshot_regions); xbt_dynar_free(&(this->stacks)); xbt_dynar_free(&(this->to_ignore)); - xbt_dynar_free(&this->ignored_data); } const void* Snapshot::read_bytes(void* buffer, std::size_t size,