Commit ceffc5aa authored by Max Kellermann's avatar Max Kellermann

input/curl: remove duplicate InitEasy() call

parent ccb45b6f
......@@ -7,6 +7,8 @@ ver 0.20 (not yet released)
- drop the "file:///" prefix for absolute file paths
- add range parameter to command "plchanges" and "plchangesposid"
- send verbose error message to client
* input
- curl: fix memory leak
* tags
- ape, ogg: drop support for non-standard tag "album artist"
affected filetypes: vorbis, flac, opus & all files with ape2 tags
......
......@@ -65,7 +65,7 @@ struct CurlInputStream final : public AsyncInputStream {
struct curl_slist *request_headers;
/** the curl handles */
CURL *easy;
CURL *easy = nullptr;
/** error message provided by libcurl */
char error_buffer[CURL_ERROR_SIZE];
......@@ -79,7 +79,6 @@ struct CurlInputStream final : public AsyncInputStream {
CURL_RESUME_AT),
request_headers(nullptr),
icy(new IcyInputStream(this)) {
InitEasy();
}
~CurlInputStream();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment