summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-03-24 07:51:37 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-03-24 12:52:00 +0300
commitd21d456b3abecb61ec8e5dfc6f06f48ba1eb4cc5 (patch)
treef6c414381724382b95d6acf0f229e9a27289c0df /malloc.c
parentb02839a6d6327f7f6fec313b355c2c1c18d8be9c (diff)
downloadbdwgc-d21d456b3abecb61ec8e5dfc6f06f48ba1eb4cc5.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.
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index bb6e2354..3188544f 100644
--- a/malloc.c
+++ b/malloc.c
@@ -151,7 +151,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)
{