]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/nedmalloc/malloc.c.h
typofix: in-code comments
[thirdparty/git.git] / compat / nedmalloc / malloc.c.h
index 5a44dead9dd51cbf194d14f7f367844f780298d0..ed4f1fa5af8d911382101116c8ee522ef1e9b629 100644 (file)
@@ -3602,8 +3602,8 @@ static void internal_malloc_stats(mstate m) {
      and choose its bk node as its replacement.
   2. If x was the last node of its size, but not a leaf node, it must
      be replaced with a leaf node (not merely one with an open left or
-     right), to make sure that lefts and rights of descendents
-     correspond properly to bit masks.  We use the rightmost descendent
+     right), to make sure that lefts and rights of descendants
+     correspond properly to bit masks.  We use the rightmost descendant
      of x.  We could use any other leaf, but this is easy to locate and
      tends to counteract removal of leftmosts elsewhere, and so keeps
      paths shorter than minimally guaranteed.  This doesn't loop much