fix leak from redundant SetKey calls
git-svn-id: svn://10.0.0.236/trunk@44176 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -265,6 +265,7 @@ nsMsgIdentity::setIntPref(const char *prefname,
|
||||
nsresult
|
||||
nsMsgIdentity::SetKey(char* identityKey)
|
||||
{
|
||||
PR_FREEIF(m_identityKey);
|
||||
m_identityKey = PL_strdup(identityKey);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user