From 82337dec44347017ca04fe975e85e6d9e4edb635 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 16:59:19 +0200 Subject: InputStream: add virtual destructor Replaces the method Close(). --- src/TagFile.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/TagFile.cxx') diff --git a/src/TagFile.cxx b/src/TagFile.cxx index 4c2b0d8ac..84faa848a 100644 --- a/src/TagFile.cxx +++ b/src/TagFile.cxx @@ -48,8 +48,7 @@ public: is(nullptr) {} ~TagFileScan() { - if (is != nullptr) - is->Close(); + delete is; } bool ScanFile(const DecoderPlugin &plugin) { -- cgit v1.2.3