--- libgig/trunk/src/gig.cpp 2007/03/15 00:32:06 1098 +++ libgig/trunk/src/gig.cpp 2007/03/15 13:57:47 1099 @@ -2740,6 +2740,8 @@ } Group::~Group() { + // remove the chunk associated with this group (if any) + if (pNameChunk) pNameChunk->GetParent()->DeleteSubChunk(pNameChunk); } /** @brief Update chunks with current group settings.