Blender Git Loki
Git Commits -> Revision 8c5041b
December 31, 2015, 12:11 (GMT) |
Fix for memleaks caused by un-freed Value instances, kudos to Kevin Dietrich! These values are heap-allocated virtual classes, because general node code is largely agnostic to data types. After adding values to a node (either as default input values or per instance), care must be taken to free them when the node type or instance is destroyed. |
Commit Details:
Full Hash: 8c5041be5ce799b87debda28884bfc5de8ff3080
Parent Commit: bb0e137
Lines Changed: +58, -17
5 Modified Paths:
/source/blender/blenvm/compile/bvm_codegen.cc (+2, -2) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+29, -10) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.h (+14, -4) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+1, -1) (Diff)
/source/blender/blenvm/util/bvm_util_typedesc.h (+12, -0) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+29, -10) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.h (+14, -4) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+1, -1) (Diff)
/source/blender/blenvm/util/bvm_util_typedesc.h (+12, -0) (Diff)