summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/PostProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp
index 783d1f35..a0ff0f9c 100644
--- a/src/server/PostProcessor.cpp
+++ b/src/server/PostProcessor.cpp
@@ -81,7 +81,7 @@ PostProcessor::process()
ev->post_process();
delete ev;
- if (ev == tail || next->time() >= end_time) {
+ if (ev == tail || next && next->time() >= end_time) {
// Reached end, update _head
_head = next;
break;