rename MYMALLOC -> model_malloc
[c11tester.git] / snapshot-interface.cc
index d93e5c20dce3203378c2ea9d4f611bb90580686d..8d7591b82efa1afccb5e00a3b5bb990c5b7447fe 100644 (file)
@@ -130,7 +130,7 @@ int SnapshotStack::backTrackBeforeStep(int seqindex) {
 
 /** This method takes a snapshot at the given sequence number. */
 void SnapshotStack::snapshotStep(int seqindex) {
-       struct stackEntry *tmp=(struct stackEntry *)MYMALLOC(sizeof(struct stackEntry));
+       struct stackEntry *tmp=(struct stackEntry *)model_malloc(sizeof(struct stackEntry));
        tmp->next=stack;
        tmp->index=seqindex;
        tmp->snapshotid=takeSnapshot();