aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/diagnostic/diagnostic-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp
index 6ab34577..6fd9c2c6 100644
--- a/src/diagnostic/diagnostic-manager.cpp
+++ b/src/diagnostic/diagnostic-manager.cpp
@@ -480,7 +480,7 @@ int diagnostic_manager_t::send_request(sd_event_source *s, uint64_t usec, void *
adr->set_in_flight(true);
}
- if(adr->get_recurring())
+ if(adr != nullptr && adr->get_recurring())
{
return dm.reschedule_request(s, usec, adr);
}