mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
[2445] do explicit check for NULL against a pointer
This commit is contained in:
@@ -256,7 +256,7 @@ main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
// If we haven't registered callback for data sources, this will be just
|
// If we haven't registered callback for data sources, this will be just
|
||||||
// no-op.
|
// no-op.
|
||||||
if (config_session) {
|
if (config_session != NULL) {
|
||||||
config_session->removeRemoteConfig("data_sources");
|
config_session->removeRemoteConfig("data_sources");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user