Permalink
Browse files

Fix potential memory leak in MetaIOID3::readAlbumArt() on error. Cove…

…rity 1023890
  • Loading branch information...
stuartm committed May 18, 2013
1 parent f566cac commit 79e27027dd5486ea28dd69dd038eedfa90e1765c
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythmetadata/metaioid3.cpp
@@ -505,6 +505,7 @@ AlbumArtList MetaIOID3::readAlbumArt(TagLib::ID3v2::Tag *tag)
default:
LOG(VB_GENERAL, LOG_ERR, "Music Scanner - APIC tag found "
"with unsupported type");
delete art;
continue;
}

0 comments on commit 79e2702

Please sign in to comment.