diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 16:59:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 17:12:50 +0200 |
commit | 82337dec44347017ca04fe975e85e6d9e4edb635 (patch) | |
tree | 308036d4a7abbd2bb04ed472dc1fbacdc2587871 /test/run_decoder.cxx | |
parent | f1d07002521a4a98acf130127cf42aef20a5e258 (diff) | |
download | mpd-82337dec44347017ca04fe975e85e6d9e4edb635.tar.gz mpd-82337dec44347017ca04fe975e85e6d9e4edb635.tar.xz mpd-82337dec44347017ca04fe975e85e6d9e4edb635.zip |
InputStream: add virtual destructor
Replaces the method Close().
Diffstat (limited to 'test/run_decoder.cxx')
-rw-r--r-- | test/run_decoder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx index 58731d5a5..c6f25b3fc 100644 --- a/test/run_decoder.cxx +++ b/test/run_decoder.cxx @@ -230,7 +230,7 @@ int main(int argc, char **argv) decoder.plugin->StreamDecode(decoder, *is); - is->Close(); + delete is; } else { fprintf(stderr, "Decoder plugin is not usable\n"); return EXIT_FAILURE; |