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: address@hidden
Subject: Re: Fixes footnote automatic numbering. (issue 4877041)
Date: Mon, 14 Nov 2011 14:24:58 +0100

On Nov 14, 2011, at 12:43 PM, address@hidden wrote:

> 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.
> 

Agreed.
Reinhold - how did you do the memory profiling on all of the regtests?  I can 
figure out how to do it for a single file, but not the regtests in succession.  
This'd help me figure out where/why lilypond is fizzling out.

Cheers,
MS




reply via email to

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