mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
fix memory leak of hostname
This commit is contained in:
parent
7cf8c63dae
commit
fd63be5bc1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user