diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/plugins/RewindInputPlugin.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/input/plugins/RewindInputPlugin.cxx b/src/input/plugins/RewindInputPlugin.cxx index 9665615f8..b1ec3ab62 100644 --- a/src/input/plugins/RewindInputPlugin.cxx +++ b/src/input/plugins/RewindInputPlugin.cxx @@ -60,7 +60,7 @@ public: } ~RewindInputStream() { - input->Close(); + delete input; } bool Check(Error &error) { @@ -121,14 +121,6 @@ private: } }; -static void -input_rewind_close(InputStream *is) -{ - RewindInputStream *r = (RewindInputStream *)is; - - delete r; -} - static bool input_rewind_check(InputStream *is, Error &error) { @@ -263,7 +255,6 @@ const InputPlugin rewind_input_plugin = { nullptr, nullptr, nullptr, - input_rewind_close, input_rewind_check, input_rewind_update, input_rewind_tag, |