diff options
Diffstat (limited to 'libguile/strings.c')
-rw-r--r-- | libguile/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/strings.c b/libguile/strings.c index cbfab7b99..63078bc9f 100644 --- a/libguile/strings.c +++ b/libguile/strings.c @@ -363,7 +363,7 @@ scm_c_string2str (SCM obj, char *str, size_t *lenp) { /* FIXME: Should we use exported wrappers for malloc (and free), which * allow windows DLLs to call the correct freeing function? */ - str = (char *) malloc ((len + 1) * sizeof (char)); + str = (char *) scm_malloc ((len + 1) * sizeof (char)); if (str == NULL) return NULL; } |