Fix T53115: Memleak with instanced groups and Cycles
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 24 Jan 2018 14:46:34 +0000 (15:46 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 24 Jan 2018 14:46:34 +0000 (15:46 +0100)
commitca088a7b126be3e08025b83d6ac6aafa7519985c
treedd81fbf18f7d3dc78100734950e15124849a298a
parent9f713ec962a6aa4ab2eef764c76b1d3b49658f63
Fix T53115: Memleak with instanced groups and Cycles

The issue was caused by Cycles allocating ID property in a temporary object
which gets overwritten and thrown away every so often.

Now dependency graph will try to reliably check whether ID properties from
a temp object are to be freed.
source/blender/depsgraph/intern/depsgraph_query_iter.cc