]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/ly-smobs.icc
Don't assign 'safe' values to self_scm_ outside of smobify_self
[lilypond.git] / lily / include / ly-smobs.icc
index 2fba5f55a480a005137ef85cfd76f7425559260a..3ff54cc49e45ca5f4a322d437b2b98d9ad21ac95 100644 (file)
       goodly sure                                                       \
     */                                                                  \
     SCM s;                                                              \
+    self_scm_ = SCM_UNDEFINED;                                         \
     SCM_NEWSMOB (s, CL::smob_tag_, this);                               \
     self_scm_ = s;                                                      \
     scm_gc_register_collectable_memory (this, sizeof (CL), #CL " smob"); \