Created attachment 810464 [details]
delete the allocated mem
I don't have the stats-to-tags ticked in the settings.
For a start, this patch deletes the allocated memory in respective destructors.
Some of the largest leaks indeed dismissed. But there are more, perhaps. ASAN
does not do a very nice reporting. valgrind revealed the sources better.
Did they mean to use a shared pointer or they don't care about memory
allocations at all?