- #include "stdafx.h"
- #include "MailStruct.h"
- CDataCluster::CDataCluster()
- {
- m_pNextDataCluster = NULL;
- m_pDataHeaps = NULL;
- }
- CDataCluster::~CDataCluster()
- {
- if (m_pNextDataCluster != NULL)
- {
- delete m_pNextDataCluster;
- m_pNextDataCluster = NULL;
- }
- if (m_pDataHeaps != NULL)
- {
- delete []m_pDataHeaps;
- m_pDataHeaps = NULL;
- }
- }