Remove another release because of RDF nsMsgHdr problems. Will fix after we

decouple nsMsghdr and nsIMessage.
This commit is contained in:
putterman%netscape.com 1999-03-12 07:58:20 +00:00
parent 98bbb002c5
commit bb23d88656

View File

@ -108,7 +108,8 @@ NS_IMETHODIMP nsMsgMailboxParser::OnStopBinding(nsIURL* aURL, nsresult aStatus,
printf("hdr key = %ld, author = %s subject = %s\n", key, (authorStr) ? authorStr : "", (subjectStr) ? subjectStr : "");
delete [] authorStr;
delete [] subjectStr;
msgHdr->Release();
//Once again this is part of the problem caused by the RDF/nsMsgHdr problem.
//msgHdr->Release();
}
}
m_mailDB->Close(TRUE);
@ -267,6 +268,7 @@ PRInt32 nsMsgMailboxParser::PublishMsgHeader()
else if (m_mailDB != NULL)
{
m_mailDB->AddNewHdrToDB(m_newMsgHdr, m_updateAsWeGo);
//XXXX this needs to be put back in when we fix nsMsgHdr rdf dependency.
// m_newMsgHdr->Release();
// should we release here?
m_newMsgHdr = NULL;