Only decrease leaked allocations counter for known allocations

Authored by mwolff on Mar 5 2017, 9:52 PM.

Description

Only decrease leaked allocations counter for known allocations

When we runtime-attach heaptrack, we may encounter frees for
allocations that we did not track, i.e. those that happened before
we attached. In such cases, we used to decrase the leaked allocation
counter, and that potentially underflowed then. This is fixed now.

Details

Committed
mwolffMar 5 2017, 9:52 PM
Parents
R45:932defacaa60: Improve cleanup after detaching heaptrack
Branches
Unknown
Tags
Unknown