From 13eb1a4deb05c902edd4f4b7f631abb208052dd1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Jun 2018 10:25:08 -0400 Subject: Automatically finish reader on destruction --- src/reader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.1