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:
authorTon Roosendaal <ton@blender.org>2007-01-26 22:17:20 +0300
committerTon Roosendaal <ton@blender.org>2007-01-26 22:17:20 +0300
commitd1e40bc6be34517f4fa40c7fea906bb8450cee45 (patch)
tree2a6e7ea82ae8c1a61a15a842e7a1e3cc95adb26b /source/blender/blenkernel/intern/node.c
parent1dbbbe4077197b53cd481dcca0958b7296d5cf0b (diff)
Bugfix (own collection)
Composite: some cases gave memory errors (not freed mem). The code that tried to be smart in finding nodes to skip, caused that stack buffers were not freed propertly.
Diffstat (limited to 'source/blender/blenkernel/intern/node.c')
-rw-r--r--source/blender/blenkernel/intern/node.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c
index 3d12303e48e..6c72b087e47 100644
--- a/source/blender/blenkernel/intern/node.c
+++ b/source/blender/blenkernel/intern/node.c
@@ -2012,7 +2012,8 @@ static int node_only_value(bNode *node)
if(ELEM3(node->type, CMP_NODE_TIME, CMP_NODE_VALUE, CMP_NODE_RGB))
return 1;
- if(node->inputs.first) {
+ /* doing this for all node types goes wrong. memory free errors */
+ if(node->inputs.first && node->type==CMP_NODE_MAP_VALUE) {
int retval= 1;
for(sock= node->inputs.first; sock; sock= sock->next) {
if(sock->link)