From 82337dec44347017ca04fe975e85e6d9e4edb635 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 16:59:19 +0200 Subject: InputStream: add virtual destructor Replaces the method Close(). --- src/input/plugins/CurlInputPlugin.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/input/plugins/CurlInputPlugin.cxx') diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 63fb84190..fa93a1d7e 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -805,14 +805,6 @@ input_curl_read(InputStream *is, void *ptr, size_t size, return c.Read(ptr, size, error); } -static void -input_curl_close(InputStream *is) -{ - CurlInputStream *c = (CurlInputStream *)is; - - delete c; -} - static bool input_curl_eof(gcc_unused InputStream *is) { @@ -1144,7 +1136,6 @@ const struct InputPlugin input_plugin_curl = { input_curl_init, input_curl_finish, input_curl_open, - input_curl_close, input_curl_check, nullptr, input_curl_tag, -- cgit v1.2.3