• Russ Cox's avatar
    Use explicit allspan list instead of · 9f726c2c
    Russ Cox authored
    trying to find all the places where
    spans might be recorded.
    
    Free can cascade into complicated
    span manipulations that move them
    from list to list; the old code had the
    possibility of accidentally processing
    a span twice or jumping to a different
    list, causing an infinite loop.
    
    R=r
    DELTA=70  (28 added, 25 deleted, 17 changed)
    OCL=23704
    CL=23710
    9f726c2c
malloc.h 11.9 KB