summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord.c')
-rw-r--r--src/sord.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/sord.c b/src/sord.c
index 5d7c075..56c9d05 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -182,10 +182,12 @@ SordWorld*
sord_world_new(void)
{
SordWorld* world = (SordWorld*)malloc(sizeof(SordWorld));
- world->names = zix_hash_new(zix_string_hash, zix_string_equal);
- world->langs = zix_hash_new(zix_string_hash, zix_string_equal);
- world->literals = zix_hash_new(sord_literal_hash, sord_literal_equal);
- world->n_nodes = 0;
+ world->names = zix_hash_new(zix_string_hash, zix_string_equal);
+ world->langs = zix_hash_new(zix_string_hash, zix_string_equal);
+ world->literals = zix_hash_new(sord_literal_hash, sord_literal_equal);
+ world->n_nodes = 0;
+ world->error_sink = NULL;
+ world->error_handle = NULL;
return world;
}