You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code preserves mleakdetect_stat after the mleakdetect_dump() is called. This intends that people can see the statistics with a debugger (maybe from core). And mleakdetect_dump() can be called multiple times. So the lines are to free mleakdetect_stat which was used when mleakdetect_dump() is called previously.
Just enter into mleakdetect_dump function, you empty the mleakdetect_stat list. the later that list still be used?
https://github.com/yasuoka/mleakdetect/blob/cc8d21119d505baf1693fa61053299decf996c55/mleakdetect.c#L426C1-L429C3
The text was updated successfully, but these errors were encountered: