summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Serialiser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp
index 3ea8e7e0..bc4da25d 100644
--- a/src/Serialiser.cpp
+++ b/src/Serialiser.cpp
@@ -390,6 +390,8 @@ Serialiser::Impl::serialise_graph(const std::shared_ptr<const Node>& graph,
Sord::URI(world, uris.ingen_block),
block_id);
serialise_block(subgraph, subgraph_id, block_id);
+
+ serd_node_free(&subgraph_node);
} else if (n->second->graph_type() == Node::GraphType::BLOCK) {
std::shared_ptr<const Node> block = n->second;