leak-detective: Add an option to ignore frees of unknown memory blocks
authorTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2018 15:06:15 +0000 (17:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Sep 2018 14:25:00 +0000 (16:25 +0200)
commit472efd38095dbcba063e45c2be7791c879bb9ca5
tree226ab221184cdfba97ffbe01c955683994e02874
parent9ee23d5efa099e05f4f98d71e7fab677f08dd88c
leak-detective: Add an option to ignore frees of unknown memory blocks

This also changes how unknown/corrupted memory is handled in the free()
and realloc() hooks in general.

Incorporates changes provided by Thomas Egerer who ran into a similar
issue.
src/libstrongswan/utils/leak_detective.c