summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp5
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