summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-01-17 19:05:57 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-01-17 19:05:57 +0300
commit25aa62fee7b13902e4f0fbef3e42db22325a7614 (patch)
tree7be9bca42151effa9ebb5cc35039963acd5f5acf /malloc.c
parent05b220b9846f8b4842d18530bf183275b873e538 (diff)
downloadbdwgc-25aa62fee7b13902e4f0fbef3e42db22325a7614.tar.gz
Fix typos in comments and documentation (regarding 'it is')
* ChangeLog (4.3): Fix typo ("it's"). * doc/platforms/README.amiga (GC_AMIGA_GC): Likewise. * extra/AmigaOS.c (GC_amiga_allocwrapper_any): Fix typo in comment ("it's"). * malloc.c (GC_free): Likewise. * new_hblk.c (GC_build_fl): Likewise. * os_dep.c [DATASTART_USES_BSDGETDATASTART] (GC_FreeBSDGetDataStart): Likewise. * reclaim.c (GC_start_reclaim): Likewise.
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 ef8daddd..fc5dc4be 100644
--- a/malloc.c
+++ b/malloc.c
@@ -607,7 +607,7 @@ GC_API void GC_CALL GC_free(void * p)
LOCK();
GC_bytes_freed += sz;
if (IS_UNCOLLECTABLE(knd)) GC_non_gc_bytes -= sz;
- /* Its unnecessary to clear the mark bit. If the */
+ /* It's unnecessary to clear the mark bit. If the */
/* object is reallocated, it doesn't matter. O.w. the */
/* collector will do it, since it's on a free list. */
if (ok -> ok_init && EXPECT(sz > sizeof(word), TRUE)) {