Clean up the stream if ownership isn't taken by a taglib file.
This commit is contained in:
parent
36f0cde07d
commit
0bf911aec4
@ -979,6 +979,7 @@ bool TagReader::ReadCloudFile(const QUrl& download_url, const QString& title,
|
||||
new TagLib::ASF::File(stream, true, TagLib::AudioProperties::Accurate));
|
||||
} else {
|
||||
qLog(Debug) << "Unknown mime type for tagging:" << mime_type;
|
||||
delete stream;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user