aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-16 10:25:08 -0400
committerDavid Robillard <d@drobilla.net>2019-04-13 19:15:32 +0200
commit97c7ace6c0897152786032d1372afdf8fb5fabec (patch)
tree0f809938f44b300aa5c158d4b9829234c5894e34 /src
parent652e7cfe62f629deb7a5a427d3cb77d78e532ec6 (diff)
downloadserd-97c7ace6c0897152786032d1372afdf8fb5fabec.tar.gz
serd-97c7ace6c0897152786032d1372afdf8fb5fabec.tar.bz2
serd-97c7ace6c0897152786032d1372afdf8fb5fabec.zip
Automatically finish reader on destruction
Diffstat (limited to 'src')
-rw-r--r--src/reader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c
index 9b1d9f4d..5dc86f1e 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -193,6 +193,7 @@ serd_reader_set_strict(SerdReader* reader, bool strict)
void
serd_reader_free(SerdReader* reader)
{
+ serd_reader_finish(reader);
serd_node_free(reader->default_graph);
#ifdef SERD_STACK_CHECK