]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rhythmic-grouping.cc
release: 1.1.40
[lilypond.git] / lily / rhythmic-grouping.cc
index 0a95845f6323807c3330ad2add8826e90232a257..487d03a5b981628441c08d682244c99b1f7b10b5 100644 (file)
@@ -229,8 +229,7 @@ void
 Rhythmic_grouping::junk()
 {
   delete interval_;
-  for (int i=0; i < children.size(); i++)
-    delete children[i];
+  junk_pointer_array (children);
   init();
 }