diff options
author | David Robillard <d@drobilla.net> | 2012-12-21 21:10:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-21 21:10:54 +0000 |
commit | d22f6503008f738b5cf7dcb58212e1be503a54f4 (patch) | |
tree | 5bdb88048cbb88b3e542c476f39366c27cde7b8e /tests | |
parent | 6b62e037f2f828ec6bf9c7e0066db32cfb54abef (diff) | |
download | ingen-d22f6503008f738b5cf7dcb58212e1be503a54f4.tar.gz ingen-d22f6503008f738b5cf7dcb58212e1be503a54f4.tar.bz2 ingen-d22f6503008f738b5cf7dcb58212e1be503a54f4.zip |
Fix memory leaks.
Add missing library dependencies.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4880 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 4958142b..2e532701 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -207,7 +207,7 @@ main(int argc, char** argv) client); SerdURI cmds_base; - const SerdNode cmds_file_uri = serd_node_new_file_uri( + SerdNode cmds_file_uri = serd_node_new_file_uri( (const uint8_t*)cmds_file_path.c_str(), NULL, &cmds_base, false); Sord::Model* cmds = new Sord::Model(*world->rdf_world(), @@ -248,7 +248,10 @@ main(int argc, char** argv) g_usleep(1000); } } + free((void*)out.buf); serd_env_free(env); + sratom_free(sratom); + serd_node_free(&cmds_file_uri); delete cmds; // Shut down |