dtmail: resolve 'deference before null check' errors related to if(!NULL) checks around free() calls

This commit is contained in:
Peter Howkins
2018-04-02 20:29:28 +01:00
parent 8362f92ceb
commit 0b38496bd8
27 changed files with 41 additions and 68 deletions

View File

@@ -4963,7 +4963,7 @@ RFCMailBox::createMailRetrievalAgent(char *password)
appendCB, (void*) this);
if (NULL != _mra_server) _mra_server->set_password(_mra_serverpw);
if (NULL != protocol) free(protocol);
free(protocol);
}
else if (True == DtMailServer::get_mailrc_value(
_session, DTMAS_INBOX,