Ticket #91: mythcommflag-free.diff

File mythcommflag-free.diff, 772 bytes (added by jwestfall@…, 14 years ago)
  • programs/mythcommflag/ClassicCommDetector.cpp

     
    222222}
    223223
    224224ClassicCommDetector::~ClassicCommDetector()
    225 {}
     225{
     226    if (edgeMask)
     227        delete [] edgeMask;
    226228
     229    if (logoFrame)
     230        delete [] logoFrame;
     231
     232    if (logoMask)
     233        delete [] logoMask;
     234
     235    if (logoCheckMask)
     236        delete [] logoCheckMask;
     237
     238    if (logoMaxValues)
     239        delete [] logoMaxValues;
     240
     241    if (logoMinValues)
     242        delete [] logoMinValues;
     243
     244    if (tmpBuf)
     245        delete [] tmpBuf;
     246}
     247
    227248bool ClassicCommDetector::go()
    228249{
    229250    nvp->SetNullVideo();