diff --git a/src/RIFF.cpp b/src/RIFF.cpp
index b92988c..883c145 100644
--- a/src/RIFF.cpp
+++ b/src/RIFF.cpp
@@ -956,13 +956,7 @@ namespace RIFF {
 
     void List::DeleteChunkList() {
         if (pSubChunks) {
-            ChunkList::iterator iter = pSubChunks->begin();
-            ChunkList::iterator end  = pSubChunks->end();
-            while (iter != end) {
-                delete *iter;
-                iter++;
-            }
-            delete pSubChunks;
+            pSubChunks->clear();
             pSubChunks = NULL;
         }
         if (pSubChunksMap) {
