diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c index ef5a7633..2de41ce7 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -478,9 +478,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); |