aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 42da9fd5..c03d3102 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -262,9 +262,7 @@ main(int argc, char** argv)
}
if (root_uri) {
- SerdNode* const root = serd_new_uri(serd_string(root_uri));
- serd_writer_set_root_uri(writer, root);
- serd_node_free(root);
+ serd_writer_set_root_uri(writer, serd_string(root_uri));
}
serd_writer_chop_blank_prefix(writer, chop_prefix);