diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/maid_test.cpp | 2 | ||||
-rw-r--r-- | test/queue_test.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/maid_test.cpp b/test/maid_test.cpp index 13d29e9..7c1fd7d 100644 --- a/test/maid_test.cpp +++ b/test/maid_test.cpp @@ -35,5 +35,7 @@ main(int argc, char** argv) maid.dispose(dis); maid.cleanup(); + delete dis; + return 0; } diff --git a/test/queue_test.cpp b/test/queue_test.cpp index 7749db0..7c9bad3 100644 --- a/test/queue_test.cpp +++ b/test/queue_test.cpp @@ -157,6 +157,7 @@ main() for (unsigned i = 0; i < NUM_WRITERS; ++i) { exit_flags[i] = true; writers[i]->join(); + delete writers[i]; } //cout << "\n\n****************** DONE *********************\n\n"; |