diff options
Diffstat (limited to 'src/nodes.c')
-rw-r--r-- | src/nodes.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nodes.c b/src/nodes.c index 8d6e409..32ffa71 100644 --- a/src/nodes.c +++ b/src/nodes.c @@ -66,3 +66,11 @@ jalv_init_nodes(LilvWorld* const world, JalvNodes* const nodes) #undef MAP_NODE } + +void +jalv_free_nodes(JalvNodes* const nodes) +{ + for (LilvNode** n = (LilvNode**)nodes; *n; ++n) { + lilv_node_free(*n); + } +} |