summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 19cbec9..a6ddfab 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -163,7 +163,7 @@ event_statement(void* handle,
if (state->graph_uri_node) {
assert(graph->type == SERD_NOTHING);
- tup[3] = state->graph_uri_node;
+ tup[3] = sord_node_copy(state->graph_uri_node);
} else {
tup[3] = (graph && graph->buf)
? sord_node_from_serd_node(state, graph, NULL, NULL)