bugfix: straighten out STL vector allocation (snapshotted vs. persistent)
[c11tester.git] / action.cc
index 205bedbf6f12806835a503975e95709162630070..5d726a2a0514f1c63c66fc3604ec8409fe0ba8cb 100644 (file)
--- a/action.cc
+++ b/action.cc
@@ -168,7 +168,7 @@ void ModelAction::read_from(const ModelAction *act)
        ASSERT(cv);
        reads_from = act;
        if (act != NULL && this->is_acquire()) {
-               std::vector<const ModelAction *> release_heads;
+               std::vector< const ModelAction *, MyAlloc<const ModelAction *> > release_heads;
                model->get_release_seq_heads(this, &release_heads);
                for (unsigned int i = 0; i < release_heads.size(); i++)
                        synchronize_with(release_heads[i]);