Fix possible crash.

This commit is contained in:
czeidler 2012-07-17 11:28:59 +12:00
parent 73fc635b3d
commit ee3a1ebebf

View File

@ -112,6 +112,9 @@ POP3Protocol::Connect()
status_t
POP3Protocol::Disconnect()
{
if (fServerConnection == NULL)
return B_OK;
SendCommand("QUIT" CRLF);
fServerConnection->Disconnect();