aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 9d364e04..fbe9da3f 100644
--- a/src/world.c
+++ b/src/world.c
@@ -77,6 +77,7 @@ serd_world_new(void)
SerdWorld* world = (SerdWorld*)calloc(1, sizeof(SerdWorld));
world->blank_node = serd_node_new_blank("b0000000000");
+ world->nodes = serd_nodes_new();
return world;
}
@@ -84,6 +85,7 @@ serd_world_new(void)
void
serd_world_free(SerdWorld* world)
{
+ serd_nodes_free(world->nodes);
free(world);
}