fix memory leak of hostname

This commit is contained in:
bienvenu%netscape.com 1999-09-30 01:45:20 +00:00
parent 7cf8c63dae
commit fd63be5bc1

View File

@ -2903,6 +2903,7 @@ void nsImapProtocol::ProcessMailboxUpdate(PRBool handlePossibleUndo)
if (DeathSignalReceived())
GetServerStateParser().ResetFlagInfo(0);
PR_FREEIF(new_spec->allocatedPathName);
PR_FREEIF(new_spec->hostName);
PR_FREEIF(new_spec);
}