summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-07 20:52:43 +0000
committerDavid Robillard <d@drobilla.net>2011-03-07 20:52:43 +0000
commit28b3d6c6de38fc8633fbb8f8ff64588eb00be09d (patch)
tree6bb400bbba7b1720e8f3a986489c7203ec501ef2 /src/syntax.c
parentf878de8597b639253e0a7c9de6d8349c34857806 (diff)
downloadsord-28b3d6c6de38fc8633fbb8f8ff64588eb00be09d.tar.gz
sord-28b3d6c6de38fc8633fbb8f8ff64588eb00be09d.tar.bz2
sord-28b3d6c6de38fc8633fbb8f8ff64588eb00be09d.zip
Fix reference counting error.
git-svn-id: http://svn.drobilla.net/sord/trunk@52 3d64ff67-21c5-427c-a301-fe4f08042e5a
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)