lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixes footnote automatic numbering. (issue 4877041)


From: dak
Subject: Re: Fixes footnote automatic numbering. (issue 4877041)
Date: Mon, 14 Nov 2011 11:43:11 +0000

lily/grobarray.cc contains the following:

SCM
Grob_array::mark_smob (SCM s)
{
  (void) s;

#if 0  /* see System::derived_mark () const */
  Grob_array *ga = unsmob_grob_array (s);
  for (vsize i = 0; i < ga->grobs_.size (); i++)
    scm_gc_mark (ga->grobs_[i]->self_scm ());
#endif
  return SCM_UNDEFINED;
}

Consequently, elements of a grob array are not protected from garbage
collection when no other references to the grobs remain.

This is rather the reverse of a memory leak, however.

http://codereview.appspot.com/4877041/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]