Skip to content
Browse files

Fix use-after-free error in TagLoaderTagLib.cpp

  • Loading branch information...
1 parent f574332 commit d23e851c963869c946f66e77de5721d2fcf5f24c Kyle Hill committed with Kyle Hill
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/music/tags/TagLoaderTagLib.cpp
View
1 xbmc/music/tags/TagLoaderTagLib.cpp
@@ -152,6 +152,7 @@ bool CTagLoaderTagLib::Load(const string& strFileName, CMusicInfoTag& tag, Embed
if (!file || !file->isValid())
{
delete file;
+ oggFlacFile = NULL;
file = oggVorbisFile = new Ogg::Vorbis::File(stream);
}
}

0 comments on commit d23e851

Please sign in to comment.
Something went wrong with that request. Please try again.