diff --git a/LEGO1/tgl/d3drm/group.cpp b/LEGO1/tgl/d3drm/group.cpp index 7c33f187..198a48ec 100644 --- a/LEGO1/tgl/d3drm/group.cpp +++ b/LEGO1/tgl/d3drm/group.cpp @@ -6,7 +6,7 @@ using namespace TglImpl; GroupImpl::~GroupImpl() { if (m_data) { - free(m_data); + m_data->Release(); m_data = NULL; } }