summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-03-24 07:51:37 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-04-28 22:15:16 +0300
commitf2f784b89297e5cb620078913c2f631cea546386 (patch)
tree421b7795a3d3493e72bd5661275fa1a00b43b581
parent8f6e7a6f378530defa747718e08a722a4baf17c8 (diff)
downloadbdwgc-f2f784b89297e5cb620078913c2f631cea546386.tar.gz
Fix a typo in comment of GC_generic_malloc_inner
(a cherry-pick of commit 9b8cdbd25 from 'release-8_0') * malloc.c (GC_generic_malloc_inner): Fix a typo ("to directly allocate") in comment.
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 74104508..530f409e 100644
--- a/malloc.c
+++ b/malloc.c
@@ -96,7 +96,7 @@ STATIC ptr_t GC_alloc_large_and_clear(size_t lb, int k, unsigned flags)
}
/* allocate lb bytes for an object of kind k. */
-/* Should not be used to directly to allocate */
+/* Should not be used to directly allocate */
/* objects such as STUBBORN objects that */
/* require special handling on allocation. */
/* First a version that assumes we already */