Fix accounting error in memlog.
The implementaiton of HookRealloc needs to both log the free and the alloc. However, the conditional was only checking to see whether it was okay to log an alloc. This could result in missed logging for frees. Change-Id: I26cf132d7ccac275c1b3e80955263a92162b1956 Bug: 853438 Reviewed-on: https://chromium-review.googlesource.com/1155308Reviewed-by:Gabriel Charette <gab@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#579399}
Showing
Please register or sign in to comment