summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 21:15:27 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 21:15:27 +0000
commit1a697089a1d14195179383322cdd91f4c726b4f3 (patch)
tree77b8d2648fb63de7360894c80ea4462e2142467b /test
parent202b760c1da2d43a10de7038ee7c30e36fcdad75 (diff)
downloadraul-1a697089a1d14195179383322cdd91f4c726b4f3.tar.gz
raul-1a697089a1d14195179383322cdd91f4c726b4f3.tar.bz2
raul-1a697089a1d14195179383322cdd91f4c726b4f3.zip
Fix minor memory errors.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5205 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/maid_test.cpp2
-rw-r--r--test/queue_test.cpp1
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";