Nulling dispacket on page load failures to prevent segmentation faults.

This commit is contained in:
Thulinma 2016-06-19 14:12:03 +02:00
parent cf477ea401
commit e9364d8d78

View file

@ -769,6 +769,7 @@ namespace Mist {
buffer.insert(nxt);
}
}else{
thisPacket.null();
dropTrack(nxt.tid, "page load failure", true);
}
return false;
@ -821,6 +822,7 @@ namespace Mist {
MEDIUM_MSG("Next page for track %u starts at %llu.", nxt.tid, nxt.time);
}
}else{
thisPacket.null();
dropTrack(nxt.tid, "page load failure");
}
return false;