summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index 9f6638c..0752044 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -302,10 +302,11 @@ struct _SLV2Header*
slv2_sequence_get_by_uri(GSequence* seq, SLV2Value uri);
static inline SLV2Node slv2_node_copy(SLV2Node node) {
- return node;
+ return sord_node_copy(node);
}
-static inline void slv2_node_free(SLV2Node node) {
+static inline void slv2_node_free(SLV2World world, SLV2Node node) {
+ sord_node_free(world->world, node);
}