Commit 04115a59 authored by Mark Andrews's avatar Mark Andrews

2410. [bug] Correctly delete m_versionInfo. [RT #18432]

parent ed072d6e
2410. [bug] Correctly delete m_versionInfo. [RT #18432]
2409. [bug] Only log that we disabled EDNS processing if we were
subsequently successful. [RT #18029]
......
......@@ -55,7 +55,7 @@ CVersionInfo::CVersionInfo(CString filename)
{
if(m_versionInfo)
{
delete m_versionInfo;
delete [] m_versionInfo;
m_versionInfo = NULL;
}
return;
......@@ -68,7 +68,7 @@ CVersionInfo::CVersionInfo(CString filename)
{
if(m_versionInfo)
{
delete m_versionInfo;
delete [] m_versionInfo;
m_versionInfo = NULL;
}
return;
......@@ -89,7 +89,7 @@ CVersionInfo::~CVersionInfo()
m_fixedInfo = NULL;
if(m_versionInfo)
{
delete m_versionInfo;
delete [] m_versionInfo;
m_versionInfo = NULL;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment