]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4670: Percent_repeat_iterator's derived_mark is incomplete
authorDavid Kastrup <dak@gnu.org>
Tue, 24 Nov 2015 16:05:14 +0000 (17:05 +0100)
committerDavid Kastrup <dak@gnu.org>
Tue, 24 Nov 2015 18:49:43 +0000 (19:49 +0100)
It needs to also call the derived_mark of its base class
Sequential_iterator.  This is an oversight from issue 3693.

lily/percent-repeat-iterator.cc

index 00d8eed88b0bb34edf26d20bdc60c660e8f9e9ef..3c8420daa0d7a16d714e1a38c0f8c0ae38eed668 100644 (file)
@@ -51,6 +51,7 @@ void
 Percent_repeat_iterator::derived_mark () const
 {
   scm_gc_mark (child_list_);
+  Sequential_iterator::derived_mark ();
 }
 
 void