diff options
Diffstat (limited to 'libguile/gc-malloc.c')
-rw-r--r-- | libguile/gc-malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c index e48d2cfd1..a96a186bc 100644 --- a/libguile/gc-malloc.c +++ b/libguile/gc-malloc.c @@ -236,7 +236,7 @@ scm_gc_free (void *mem, size_t size, const char *what) char * scm_gc_strndup (const char *str, size_t n, const char *what) { - char *dst = GC_MALLOC (n+1); + char *dst = GC_MALLOC_ATOMIC (n + 1); memcpy (dst, str, n); dst[n] = 0; return dst; |