Hi, Mikko!
In CGXDLMSProfileGeneric::setValue() in else if (e.getIndex()== 3) calls m_CaptureObjects.clear(); but there is no memory release, like in the destructor.
After m_CaptureObjects.clear(); in the loop, calls AddCaptureObject(), where it calls the new operator: CGXDLMSCaptureObject* pCO = new CGXDLMSCaptureObject(attributeIndex, dataIndex);
Thanks!