mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +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
|
#endif
|
||||||
nsSmtpProtocol::nsSmtpProtocol(nsIURI * aURL)
|
nsSmtpProtocol::nsSmtpProtocol(nsIURI * aURL)
|
||||||
: nsMsgAsyncWriteProtocol(aURL)
|
: nsMsgAsyncWriteProtocol(aURL)
|
||||||
|
, m_dataBuf(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
nsSmtpProtocol::~nsSmtpProtocol()
|
nsSmtpProtocol::~nsSmtpProtocol()
|
||||||
{
|
{
|
||||||
// free our local state
|
// free our local state
|
||||||
PR_Free(m_dataBuf);
|
PR_FREEIF(m_dataBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nsSmtpProtocol::Initialize(nsIURI * aURL)
|
void nsSmtpProtocol::Initialize(nsIURI * aURL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue