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-12-19 20:55:26 -0500
commit13eb1a4deb05c902edd4f4b7f631abb208052dd1 (patch)
tree7f8524b8d8daaa02fc0b65b2de783b59037ab15d /src
parentc566f7ca434f28f68959c6c345babd07aa12e716 (diff)
downloadserd-13eb1a4deb05c902edd4f4b7f631abb208052dd1.tar.gz
serd-13eb1a4deb05c902edd4f4b7f631abb208052dd1.tar.bz2
serd-13eb1a4deb05c902edd4f4b7f631abb208052dd1.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 d9097315..c5f45832 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