Ticket #1914: eit_memleak_fixes.diff

File eit_memleak_fixes.diff, 449 bytes (added by Janne <janne-mythtv@…>, 14 years ago)
  • libs/libmythtv/eitcache.cpp

    old new void EITCache::DropChannel(uint64_t chan 
    229229        eventMap->erase(it);
    230230        it = tmp;
    231231    }
     232    delete eventMap;
    232233    channelMap.erase(channel);
    233234
    234235    VERBOSE(VB_EIT, LOC + QString("Writed %1 modified entries of %2 "