Ticket #1664: eitscanner-segv.diff

File eitscanner-segv.diff, 478 bytes (added by Stuart Auchterlonie, 14 years ago)

patch

  • libs/libmythtv/eitscanner.cpp

    old new  
    175175 */
    176176void EITScanner::StopPassiveScan(void)
    177177{
    178     parser->SetEITHelper(NULL);
     178    if (parser)
     179        parser->SetEITHelper(NULL);
    179180    eitHelper->ClearList();
    180181
    181182    channel = NULL;