InputStream: add virtual destructor
Replaces the method Close().
This commit is contained in:
@@ -48,8 +48,7 @@ public:
|
||||
is(nullptr) {}
|
||||
|
||||
~TagFileScan() {
|
||||
if (is != nullptr)
|
||||
is->Close();
|
||||
delete is;
|
||||
}
|
||||
|
||||
bool ScanFile(const DecoderPlugin &plugin) {
|
||||
|
Reference in New Issue
Block a user