tcmalloc: fix bookkeeping of span free objects
After fetching objects from a span, reset the previous field of the first
remaining object in the span.
Debug builds perform extra sanity checks on the state of the tcmalloc
metadata, which is causing them to fail without this fix.
Reviewed-by: Will Harris <firstname.lastname@example.org>
Commit-Queue: Gabriel Marin <email@example.com>
1 file changed