aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-10 20:58:07 +0100
committerDavid Robillard <d@drobilla.net>2020-11-10 20:58:07 +0100
commit2ce76b31f0a9831b96830f8d60c4dee166dad37a (patch)
treedf7a165dd85faa4e58fefbd7dad9ba1161cb16a2
parentbafa091fada7b3fdc663567abc0a7455bc3a77c9 (diff)
downloadserd-2ce76b31f0a9831b96830f8d60c4dee166dad37a.tar.gz
serd-2ce76b31f0a9831b96830f8d60c4dee166dad37a.tar.bz2
serd-2ce76b31f0a9831b96830f8d60c4dee166dad37a.zip
Fix memory leak in chunk reading test
-rw-r--r--test/test_read_chunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_read_chunk.c b/test/test_read_chunk.c
index 26165667..cc9c2e19 100644
--- a/test/test_read_chunk.c
+++ b/test/test_read_chunk.c
@@ -113,6 +113,7 @@ main(void)
assert(!serd_reader_read_chunk(reader) && n_statement == 8 && n_end == 1);
assert(serd_reader_read_chunk(reader) == SERD_FAILURE);
assert(serd_reader_read_chunk(reader) == SERD_FAILURE);
+ assert(!serd_reader_end_stream(reader));
serd_reader_free(reader);
fclose(file);