summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-03-10 18:05:25 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-03-10 18:05:25 +0000
commitfc240b46e94e9ea8619adf39b39759f996f4e91c (patch)
tree0f25a0f266c4b0b6c9baa4d004555fda540afb5d /libguile
parent68ec32312fcd34441435ce3d890c24d7ecf281e1 (diff)
downloadguile-fc240b46e94e9ea8619adf39b39759f996f4e91c.tar.gz
(scm_c_issue_deprecation_warning): Use malloc instead of scm_malloc.
The latter can not be used during GC.
Diffstat (limited to 'libguile')
-rw-r--r--libguile/deprecation.c2
1 files changed, 1 insertions, 1 deletions
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;