diff options
author | David Robillard <d@drobilla.net> | 2018-06-16 10:25:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:47 +0100 |
commit | 42ebdc8f2c9f237f676065e1ee8357b8a82b9121 (patch) | |
tree | 7ef7728681c2688bc4a16343c1b9524d263c9317 /src | |
parent | c452f0c1051186b920fdbf9a1ee2d5ad159ebb68 (diff) | |
download | serd-42ebdc8f2c9f237f676065e1ee8357b8a82b9121.tar.gz serd-42ebdc8f2c9f237f676065e1ee8357b8a82b9121.tar.bz2 serd-42ebdc8f2c9f237f676065e1ee8357b8a82b9121.zip |
Automatically finish reader on destruction
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c index c38bf279..38b8a8b0 100644 --- a/src/reader.c +++ b/src/reader.c @@ -190,6 +190,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 |