summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 939ddf1..eb57cb9 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -252,6 +252,7 @@ sord_read_file_handle(SordModel model,
serd_reader_free(state.reader);
serd_read_state_free(state.read_state);
+ serd_env_free(env);
return success;
}
@@ -285,6 +286,7 @@ sord_read_string(SordModel model,
serd_reader_free(state.reader);
serd_read_state_free(state.read_state);
+ serd_env_free(env);
return success;
}