[Bf-blender-cvs] [dcaacc6] depsgraph_refactor: Fix for Depsgraph destructor: double freeing of IDDepsNodes.
Lukas Tönne
noreply at git.blender.org
Sun Apr 13 12:06:46 CEST 2014
Commit: dcaacc604544c0ca44985645ff3dec5fbfac8356
Author: Lukas Tönne
Date: Sun Apr 13 12:00:44 2014 +0200
https://developer.blender.org/rBdcaacc604544c0ca44985645ff3dec5fbfac8356
Fix for Depsgraph destructor: double freeing of IDDepsNodes.
===================================================================
M source/blender/depsgraph/intern/depsgraph.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph.cpp b/source/blender/depsgraph/intern/depsgraph.cpp
index 2b54465..db76d6e 100644
--- a/source/blender/depsgraph/intern/depsgraph.cpp
+++ b/source/blender/depsgraph/intern/depsgraph.cpp
@@ -227,12 +227,6 @@ Depsgraph::Depsgraph()
Depsgraph::~Depsgraph()
{
- /* free node hash */
- for (Depsgraph::IDNodeMap::const_iterator it = this->id_hash.begin(); it != this->id_hash.end(); ++it) {
- DepsNode *node = it->second;
- delete node;
- }
-
/* free root node - it won't have been freed yet... */
if (this->root_node) {
delete this->root_node;
More information about the Bf-blender-cvs
mailing list