mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Fix a string leak that dbaron found with leaksoup. r=bienvenu
This commit is contained in:
parent
4b58b28542
commit
73bc2ab4b7
@ -144,7 +144,7 @@ NS_IMETHODIMP nsImapIncomingServer::SetKey(const char * aKey) // override nsMsg
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (!personalNamespace && !publicNamespace && !otherUsersNamespace)
|
||||
personalNamespace = PL_strdup("\"\"");
|
||||
personalNamespace = "\"\"";
|
||||
|
||||
hostSession->SetNamespaceFromPrefForHost(aKey, personalNamespace,
|
||||
kPersonalNamespace);
|
||||
|
Loading…
Reference in New Issue
Block a user