diff options
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r-- | test/dump_text_file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index a2fc10b3f..79b402b5a 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -112,7 +112,7 @@ int main(int argc, char **argv) InputStream *is = InputStream::OpenReady(argv[1], mutex, cond, error); if (is != NULL) { ret = dump_input_stream(*is); - is->Close(); + delete is; } else { if (error.IsDefined()) LogError(error); |