summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-08 18:24:27 -0700
committerPixel <pixel@nobis-crew.org>2012-04-08 18:24:27 -0700
commit698a6d98780a727c4002dcb16d5ed98e167b6d09 (patch)
tree54a5787e29da7f8d55a6957f26ab3d4183c18eb7
parent3d28d1e64d164139a75c2bb19ead725c7bef9c55 (diff)
Slightly cleaner unit test.
-rw-r--r--tests/test-Tasks.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-Tasks.cc b/tests/test-Tasks.cc
index 5a1955c..9b2bda1 100644
--- a/tests/test-Tasks.cc
+++ b/tests/test-Tasks.cc
@@ -43,6 +43,7 @@ class TestStackless : public StacklessTask {
StacklessBegin();
m_operation = new TestOperation();
StacklessOperation(m_operation->Do());
+ delete m_operation;
StacklessEnd();
}
TestOperation * m_operation;