summaryrefslogtreecommitdiff
path: root/tests/dram.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dram.cc')
-rw-r--r--tests/dram.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dram.cc b/tests/dram.cc
index be69263..55d4d24 100644
--- a/tests/dram.cc
+++ b/tests/dram.cc
@@ -48,6 +48,7 @@ TEST_CASE(
actual = d->view(0, 1)[0];
REQUIRE(expected == actual);
REQUIRE(r->status == WAIT);
+ delete r;
// MEMORY CYCLE 2
r = d->write(MEMORY, w, 0x00000000);
@@ -170,6 +171,7 @@ TEST_CASE(
actual = d->view(0, 1)[0];
REQUIRE(expected == actual);
REQUIRE(r->status == WAIT);
+ delete r;
// MEMORY CYCLE 2
actual = d->view(0, 1)[0];