Skip to content

Commit

Permalink
Fix Dereference after null check
Browse files Browse the repository at this point in the history
Coverity #746811
  • Loading branch information
jyavenard committed Jul 14, 2013
1 parent 4434906 commit 350653e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -8,6 +8,7 @@ MessageHandler::MessageHandler(void) : SocketRequestHandler()
if (!gCoreContext)
{
LOG(VB_GENERAL, LOG_ERR, "MessageHandler started with no CoreContext!");
return;
}
gCoreContext->addListener(this);
}
Expand Down

0 comments on commit 350653e

Please sign in to comment.