Add Address Sanitizer suppression list.

This replaces the unnecessary deallocations on program termination.
Passing in the suppression list environment variable via setenv()
doesn't seem to work, so I've added a comment in the Makefile to explain
invocation.
This commit is contained in:
2020-09-24 03:12:24 +02:00
parent c33f218e56
commit 006d1000c7
5 changed files with 5 additions and 22 deletions

4
suppr.txt Normal file
View File

@@ -0,0 +1,4 @@
leak:TableData::init
leak:ChunkManager::addPlayer
leak:ChunkManager::addNPC
leak:nlohmann::basic_json