2e79ca3205
Instead of storing the backtrace in all memory blocks, and trying to get meaningful info out of this list of pointers when printing leaked ones, just use `__asan_describe_address` when ASAN is enabled. This also work on Windows, in addition to linux and (presumably) OSX, but does require to build with ASAN enabled. The previous code was not working very well anymore, for some reason the call to `backtrace_symbols` seems to fail to give any meaningful information nowadays on most of Blender code. And it was only implemented for linux and OSX. Based on an idea from @LazyDodo, many thanks! Pull Request: https://projects.blender.org/blender/blender/pulls/111006