input/curl: remove duplicate InitEasy() call
This commit is contained in:
parent
ccb45b6f6e
commit
ceffc5aa72
2
NEWS
2
NEWS
|
@ -7,6 +7,8 @@ ver 0.20 (not yet released)
|
||||||
- drop the "file:///" prefix for absolute file paths
|
- drop the "file:///" prefix for absolute file paths
|
||||||
- add range parameter to command "plchanges" and "plchangesposid"
|
- add range parameter to command "plchanges" and "plchangesposid"
|
||||||
- send verbose error message to client
|
- send verbose error message to client
|
||||||
|
* input
|
||||||
|
- curl: fix memory leak
|
||||||
* tags
|
* tags
|
||||||
- ape, ogg: drop support for non-standard tag "album artist"
|
- ape, ogg: drop support for non-standard tag "album artist"
|
||||||
affected filetypes: vorbis, flac, opus & all files with ape2 tags
|
affected filetypes: vorbis, flac, opus & all files with ape2 tags
|
||||||
|
|
|
@ -65,7 +65,7 @@ struct CurlInputStream final : public AsyncInputStream {
|
||||||
struct curl_slist *request_headers;
|
struct curl_slist *request_headers;
|
||||||
|
|
||||||
/** the curl handles */
|
/** the curl handles */
|
||||||
CURL *easy;
|
CURL *easy = nullptr;
|
||||||
|
|
||||||
/** error message provided by libcurl */
|
/** error message provided by libcurl */
|
||||||
char error_buffer[CURL_ERROR_SIZE];
|
char error_buffer[CURL_ERROR_SIZE];
|
||||||
|
@ -79,7 +79,6 @@ struct CurlInputStream final : public AsyncInputStream {
|
||||||
CURL_RESUME_AT),
|
CURL_RESUME_AT),
|
||||||
request_headers(nullptr),
|
request_headers(nullptr),
|
||||||
icy(new IcyInputStream(this)) {
|
icy(new IcyInputStream(this)) {
|
||||||
InitEasy();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~CurlInputStream();
|
~CurlInputStream();
|
||||||
|
|
Loading…
Reference in New Issue