Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-15 13:46:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-15 13:46:13 +0300
commit6371fccdbe34ac214f54a8843dc6d2c9f1e05d92 (patch)
tree1f66cf8e45765573ecd3a4cd5b07128fdec4fecd /source/blender/compositor
parent318d3b9ab40bac7b22d10d3e00428c433670d721 (diff)
Cycles: Fix guarded allocator issues on Windows
The issue was caused by static vectors allocating some internal data using rebound element allocator for them, which was causing access to a non-initialized statistics objects and was failing a lot when switching Blender to a fully guarded allocation. Additionally, we were not able to free that internal memory before Blender exits, which was causing false-positive memory leak prints. Now we're not using GuardedAllocator for those proxy containers. Ideally this should be done as a GuardedAllocator::rebind, but it didn't work for vector<bool> because it seems some internal parts are converting bool to char32_t, which either makes it so we can't use GuardedAllocator for those vectors or the compiler get's confused when we're trying explicitly allow GuardedAllocator for rebind<char32_t>. This with current approach we should be fine for the release.
Diffstat (limited to 'source/blender/compositor')
0 files changed, 0 insertions, 0 deletions