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 19:42:42 +0300
commit9b8cdbd25ce63b7a9367f6e20f3c5c418e85e61d (patch)
tree05fae6bb8150142528e6cbb9e63af4bfb02ecfbe
parentf458451b746591561cffc70bd02777c6d9a05cfd (diff)
downloadbdwgc-9b8cdbd25ce63b7a9367f6e20f3c5c418e85e61d.tar.gz
Fix a typo in comment of GC_generic_malloc_inner
* 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 5b437912..682c597c 100644
--- a/malloc.c
+++ b/malloc.c
@@ -152,7 +152,7 @@ STATIC void GC_extend_size_map(size_t i)
}
/* Allocate lb bytes for an object of kind k. */
-/* Should not be used to directly to allocate objects */
+/* Should not be used to directly allocate objects */
/* that require special handling on allocation. */
GC_INNER void * GC_generic_malloc_inner(size_t lb, int k)
{