diff options
author | David Robillard <d@drobilla.net> | 2018-06-16 10:25:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | d398b559d7487822e56d62cb2c0197b772e9b35b (patch) | |
tree | 5f3bbc5f0bd67fa29091ccd9104e4b7f5bc7c2e8 /src | |
parent | 3cd7fc8423cb5bcc061183b3fa6512ff136a8bdf (diff) | |
download | serd-d398b559d7487822e56d62cb2c0197b772e9b35b.tar.gz serd-d398b559d7487822e56d62cb2c0197b772e9b35b.tar.bz2 serd-d398b559d7487822e56d62cb2c0197b772e9b35b.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 1bbb17dc..065e1c51 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 |