From 698a6d98780a727c4002dcb16d5ed98e167b6d09 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 8 Apr 2012 18:24:27 -0700 Subject: Slightly cleaner unit test. --- tests/test-Tasks.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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; -- cgit v1.2.3