}
if (m_pdwParseCookies != NULL)
{
- delete m_pdwParseCookies;
+ delete[] m_pdwParseCookies;
m_pdwParseCookies = NULL;
}
if (m_pnActualLineLength != NULL)
}
if (m_pdwParseCookies != NULL)
{
- delete m_pdwParseCookies;
+ delete[] m_pdwParseCookies;
m_pdwParseCookies = NULL;
}
if (m_pnActualLineLength != NULL)
DWORD *pdwNewArray = new DWORD[nLineCount];
if (nLineIndex > 0)
memcpy (pdwNewArray, m_pdwParseCookies, sizeof (DWORD) * nLineIndex);
- delete m_pdwParseCookies;
+ delete[] m_pdwParseCookies;
m_nParseArraySize = nLineCount;
m_pdwParseCookies = pdwNewArray;
}