summaryrefslogtreecommitdiff
path: root/test/run_encoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-05 11:49:18 +0100
committerMax Kellermann <max@duempel.org>2013-12-05 11:49:21 +0100
commit9f3bead99f6dc0e2879158177b55f4818d011f2d (patch)
treeadc025099a3582d5c7430ad4ac2886f9483a3479 /test/run_encoder.cxx
parent38afc8940736c0a3d54e81c887595139f70675df (diff)
test/run_encoder: destruct the Encoder before exiting
Diffstat (limited to 'test/run_encoder.cxx')
-rw-r--r--test/run_encoder.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx
index 838ee708e..0eba87d64 100644
--- a/test/run_encoder.cxx
+++ b/test/run_encoder.cxx
@@ -117,4 +117,7 @@ int main(int argc, char **argv)
}
encoder_to_stdout(*encoder);
+
+ encoder_close(encoder);
+ encoder_finish(encoder);
}