mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-13 16:44:10 +01:00
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcatchd(8) that would cause a segfault after reception of a 'Start Record Deck' ['RS'] RML. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2007,7 +2007,10 @@ void MainObject::PurgeEvent(int event)
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
catch_engine->removeEvent(catch_events[event].id());
|
||||
if(catch_events[event].id()<RDCATCHD_DYNAMIC_BASE_ID) {
|
||||
catch_engine-> // Not needed for RML Events!
|
||||
removeEvent(catch_events[event].id());
|
||||
}
|
||||
std::vector<CatchEvent>::iterator it=catch_events.begin()+event;
|
||||
catch_events.erase(it,it+1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user