diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/DecoderThread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/DecoderThread.cxx b/src/decoder/DecoderThread.cxx index 4dd3c215c..06735de83 100644 --- a/src/decoder/DecoderThread.cxx +++ b/src/decoder/DecoderThread.cxx @@ -271,7 +271,7 @@ decoder_run_stream(Decoder &decoder, const char *uri) decoder_run_stream_fallback(decoder, *input_stream)); dc.Unlock(); - input_stream->Close(); + delete input_stream; dc.Lock(); return success; @@ -318,7 +318,7 @@ TryDecoderFile(Decoder &decoder, Path path_fs, const char *suffix, dc.Unlock(); - input_stream->Close(); + delete input_stream; if (success) { dc.Lock(); |