From: JINMEI Tatuya Date: Wed, 5 Dec 2012 08:11:18 +0000 (-0800) Subject: [2445] do explicit check for NULL against a pointer X-Git-Tag: bind10-1.0.0-beta-release~19^2~17^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233aebcb70f15914e141fef4982ad7d0028fbd9f;p=thirdparty%2Fkea.git [2445] do explicit check for NULL against a pointer --- diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc index 2057b89080..e90d199d0e 100644 --- a/src/bin/auth/main.cc +++ b/src/bin/auth/main.cc @@ -256,7 +256,7 @@ main(int argc, char* argv[]) { // If we haven't registered callback for data sources, this will be just // no-op. - if (config_session) { + if (config_session != NULL) { config_session->removeRemoteConfig("data_sources"); }