diff options
-rw-r--r-- | mailnews/compose/src/nsSmtpProtocol.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mailnews/compose/src/nsSmtpProtocol.cpp b/mailnews/compose/src/nsSmtpProtocol.cpp index 522890c78..89607224e 100644 --- a/mailnews/compose/src/nsSmtpProtocol.cpp +++ b/mailnews/compose/src/nsSmtpProtocol.cpp @@ -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) |