Fix memory leak in tagreader

This commit is contained in:
Chocobozzz 2014-06-05 15:47:14 +02:00
parent ea03a621a8
commit 357a9ff194

View File

@ -1007,9 +1007,12 @@ bool TagReader::ReadCloudFile(const QUrl& download_url, const QString& title,
if (tag->audioProperties()) {
song->set_length_nanosec(tag->audioProperties()->length() * kNsecPerSec);
}
delete stream;
return true;
}
delete stream;
return false;
}
#endif // HAVE_GOOGLE_DRIVE