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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index b4e919b..b05ea25 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -263,6 +263,10 @@ static inline librdf_node* slv2_node_copy(librdf_node* node) {
return librdf_new_node_from_node(node);
}
+static inline void slv2_node_free(librdf_node* node) {
+ librdf_free_node(node);
+}
+
/* ********* Values ********* */
void slv2_values_set_at(SLV2Values list, unsigned index, void* value);