]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-smob.cc
plug small pango font memory leak.
[lilypond.git] / lily / grob-smob.cc
index 44c16e149fe9b478f55ad39615073718eae03da8..1011d47fdcf1f1a55441cfb31e6f703547880c56 100644 (file)
@@ -9,6 +9,7 @@
 #include "grob.hh"
 
 #include "paper-score.hh"
+#include "warn.hh"
 
 #include "ly-smobs.icc"
 
@@ -19,6 +20,8 @@ IMPLEMENT_TYPE_P (Grob, "ly:grob?");
 SCM
 Grob::mark_smob (SCM ses)
 {
+  ASSERT_LIVE_IS_ALLOWED();
+  
   Grob *s = (Grob *) SCM_CELL_WORD_1 (ses);
   scm_gc_mark (s->immutable_property_alist_);