Fix a string leak that dbaron found with leaksoup. r=bienvenu

This commit is contained in:
waterson%netscape.com 2000-07-06 20:58:29 +00:00
parent 4b58b28542
commit 73bc2ab4b7

View File

@ -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);