]> git.donarmstrong.com Git - lilypond.git/commit
* lily/score.cc (Score): unprotect copy of Output_def. Plugs
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 31 May 2005 15:25:26 +0000 (15:25 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 31 May 2005 15:25:26 +0000 (15:25 +0000)
commit1cd3b2484a4095d4e3fb6422dbc695a1a1219eea
tree67bc79c8735933cebf38b909d1342fedd821fb0d
parentadc7c4f282bd67ef79502c1561444efacaa063d8
* lily/score.cc (Score): unprotect copy of Output_def. Plugs
memory leak.

* lily/parser.yy (score_body): don't clone Score, that's done in
Lily_lexer::try_special_identifiers(). This fixes a memory leak.

* lily/score-engraver.cc (derived_mark): new function.
(initialize): unprotect Paper_score. This fixes a memory leak.

* lily/score-performer.cc (derived_mark): new function.

* lily/score-translator.cc (get_output): use SCM for get_output() call.
18 files changed:
ChangeLog
lily/global-context-scheme.cc
lily/global-context.cc
lily/grob.cc
lily/include/global-context.hh
lily/include/score-context.hh
lily/include/score-engraver.hh
lily/include/score-performer.hh
lily/include/score-translator.hh
lily/music-output.cc
lily/paper-score.cc
lily/parser.yy
lily/score-context.cc
lily/score-engraver.cc
lily/score-performer.cc
lily/score-translator.cc
lily/score.cc
scm/lily.scm