From fc240b46e94e9ea8619adf39b39759f996f4e91c Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 10 Mar 2005 18:05:25 +0000 Subject: [PATCH] (scm_c_issue_deprecation_warning): Use malloc instead of scm_malloc. The latter can not be used during GC. --- libguile/deprecation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/deprecation.c b/libguile/deprecation.c index de643c2c3..18dfe0a9a 100644 --- a/libguile/deprecation.c +++ b/libguile/deprecation.c @@ -67,7 +67,7 @@ scm_c_issue_deprecation_warning (const char *msg) scm_newline (scm_current_error_port ()); } msg = strdup (msg); - iw = scm_malloc (sizeof (struct issued_warning)); + iw = malloc (sizeof (struct issued_warning)); if (msg == NULL || iw == NULL) return; iw->message = msg;