diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2024-02-15 00:24:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 00:24:44 -0800 |
commit | 76e2e31b7acef5d01772c13e47fade8f6c9f60c3 (patch) | |
tree | bcdfaba787329191d5dcbe2fcade7c313d9df85a | |
parent | 5357ce07bb0fdaee703692970524037f28f05951 (diff) | |
parent | c3a5475aafb24eb15ad3a3cf915e8607c0095da1 (diff) |
Merge pull request #24706 from philipturnbull/tagloaderlib-crash
-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); } |