From 67815f15c2c9156d8da69d7fd1ac4ee0941cc839 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 23 Aug 2011 21:21:15 +0200 Subject: [PATCH] grob.cc: Don't start consing before smobify_self --- lily/grob.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lily/grob.cc b/lily/grob.cc index 41a445d5bf..d8aeedd5ad 100644 --- a/lily/grob.cc +++ b/lily/grob.cc @@ -88,13 +88,16 @@ Grob::Grob (Grob const &s) self_scm_ = SCM_EOL; immutable_property_alist_ = s.immutable_property_alist_; - mutable_property_alist_ = ly_deep_copy (s.mutable_property_alist_); + mutable_property_alist_ = SCM_EOL; interfaces_ = s.interfaces_; object_alist_ = SCM_EOL; layout_ = 0; smobify_self (); + + mutable_property_alist_ = ly_deep_copy (s.mutable_property_alist_); + } Grob::~Grob () -- 2.39.5