summaryrefslogtreecommitdiff
path: root/src/TagStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-11 16:59:19 +0200
committerMax Kellermann <max@duempel.org>2014-05-11 17:12:50 +0200
commit82337dec44347017ca04fe975e85e6d9e4edb635 (patch)
tree308036d4a7abbd2bb04ed472dc1fbacdc2587871 /src/TagStream.cxx
parentf1d07002521a4a98acf130127cf42aef20a5e258 (diff)
InputStream: add virtual destructor
Replaces the method Close().
Diffstat (limited to 'src/TagStream.cxx')
-rw-r--r--src/TagStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TagStream.cxx b/src/TagStream.cxx
index 98cbe193b..639763373 100644
--- a/src/TagStream.cxx
+++ b/src/TagStream.cxx
@@ -73,6 +73,6 @@ tag_stream_scan(const char *uri, const tag_handler &handler, void *ctx)
return false;
bool success = tag_stream_scan(*is, handler, ctx);
- is->Close();
+ delete is;
return success;
}