mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Bug 1517464 - Fix crash in SMTP DTOR by properly initializing/testing pointer.
Tag #1273
This commit is contained in:
parent
4046167650
commit
9a5ef5ff5d
1 changed files with 2 additions and 1 deletions
|
|
@ -229,13 +229,14 @@ NS_INTERFACE_MAP_END_INHERITING(nsMsgAsyncWriteProtocol)
|
|||
#endif
|
||||
nsSmtpProtocol::nsSmtpProtocol(nsIURI * aURL)
|
||||
: nsMsgAsyncWriteProtocol(aURL)
|
||||
, m_dataBuf(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
nsSmtpProtocol::~nsSmtpProtocol()
|
||||
{
|
||||
// free our local state
|
||||
PR_Free(m_dataBuf);
|
||||
PR_FREEIF(m_dataBuf);
|
||||
}
|
||||
|
||||
void nsSmtpProtocol::Initialize(nsIURI * aURL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue