diff options
Diffstat (limited to 'tools/serd-sort.c')
-rw-r--r-- | tools/serd-sort.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/serd-sort.c b/tools/serd-sort.c index 5e71e95e..bbdfa164 100644 --- a/tools/serd-sort.c +++ b/tools/serd-sort.c @@ -95,6 +95,8 @@ run(const Options opts) opts.n_inputs, opts.inputs, inserter))) { + serd_sink_free(inserter); + serd_model_free(model); serd_tool_cleanup(app); return st; } @@ -127,6 +129,9 @@ run(const Options opts) st = serd_writer_finish(app.writer); } + serd_sink_free(inserter); + serd_model_free(model); + const SerdStatus cst = serd_tool_cleanup(app); return st ? st : cst; } |