Ticket #10721: scanfornewmusiccrash.patch

File scanfornewmusiccrash.patch, 409 bytes (added by anonymous, 9 years ago)
  • mythtv/mythplugins/mythmusic/mythmusic/metaioflacvorbis.cpp

    a b  
    139139
    140140    if (metadata->Length() <= 0)
    141141        metadata->setLength(getTrackLength(flacfile));
    142     else
     142
     143    if (flacfile)
    143144        delete flacfile;
    144145
    145146    return metadata;