diff options
-rw-r--r-- | xbmc/music/tags/TagLoaderTagLib.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/music/tags/TagLoaderTagLib.cpp b/xbmc/music/tags/TagLoaderTagLib.cpp index f4f676067a..b6881d5762 100644 --- a/xbmc/music/tags/TagLoaderTagLib.cpp +++ b/xbmc/music/tags/TagLoaderTagLib.cpp @@ -1279,6 +1279,7 @@ bool CTagLoaderTagLib::Load(const std::string& strFileName, CMusicInfoTag& tag, if (!file || !file->isValid()) { delete file; + file = nullptr; oggFlacFile = nullptr; file = oggVorbisFile = new Ogg::Vorbis::File(stream); } |