From c571ae573018d5c14f521b4398649bc6790aaf74 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sat, 26 Nov 2011 13:21:45 +0100 Subject: [PATCH] Fix crash in safe mode due to unprotected module in internal_ly_eval_scm Might be responsible for a number of issues. --- lily/parse-scm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/parse-scm.cc b/lily/parse-scm.cc index 9cd177f23c..34e98e1375 100644 --- a/lily/parse-scm.cc +++ b/lily/parse-scm.cc @@ -79,7 +79,7 @@ internal_ly_eval_scm (Parse_start *ps) if (module == SCM_BOOL_F) { SCM function = ly_lily_module_constant ("make-safe-lilypond-module"); - module = scm_call_0 (function); + module = scm_gc_protect_object (scm_call_0 (function)); } // We define the parser so trusted Scheme functions can -- 2.39.2