Ticket #18: scheduler.diff

File scheduler.diff, 550 bytes (added by neil@…, 14 years ago)
  • programs/mythbackend/scheduler.cpp

     
    817817        ProgramInfo *p = *i;
    818818        p->ToStringList(strList);
    819819    }
     820
     821    while (retList->size() > 0)
     822    {
     823        ProgramInfo *pginfo = retList->back();
     824        delete pginfo;
     825        retList->pop_back();
     826    }
     827    delete retList;
     828    retList = NULL;
     829
    820830}
    821831
    822832RecList *Scheduler::getAllScheduled(void)