diff options
-rw-r--r-- | source/blender/nodes/intern/derived_node_tree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/derived_node_tree.cc b/source/blender/nodes/intern/derived_node_tree.cc index c20d6fa943e..c5f267470fd 100644 --- a/source/blender/nodes/intern/derived_node_tree.cc +++ b/source/blender/nodes/intern/derived_node_tree.cc @@ -35,7 +35,7 @@ DTreeContext &DerivedNodeTree::construct_context_recursively(DTreeContext *paren bNodeTree &btree, NodeTreeRefMap &node_tree_refs) { - DTreeContext &context = *allocator_.construct<DTreeContext>(); + DTreeContext &context = *allocator_.construct<DTreeContext>().release(); context.parent_context_ = parent_context; context.parent_node_ = parent_node; context.tree_ = &get_tree_ref_from_map(node_tree_refs, btree); |