2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

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

This commit is contained in:
Mark Andrews
2008-08-07 01:21:12 +00:00
parent ed072d6ef9
commit 04115a59c1
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
2410. [bug] Correctly delete m_versionInfo. [RT #18432]
2409. [bug] Only log that we disabled EDNS processing if we were
subsequently successful. [RT #18029]

View File

@@ -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;
}
}