diff options
author | Ton Roosendaal <ton@blender.org> | 2007-03-30 17:56:24 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-03-30 17:56:24 +0400 |
commit | eb3378a38d58e3328d5f6bb4bc5e3f66ceede753 (patch) | |
tree | b3d2299a6c9330c0249ef59e4c86760730d83c14 /source/blender/nodes/intern/CMP_util.c | |
parent | 0a150240ac14a88ad8eb388cb055a000b4b2c22e (diff) |
Bugfix #6469
Crashes in composite; caused by bad bad bug in freeing "passed on" buffers,
only happens with option "Free unused" set though.
Appeared to be mixup of variable names. Code changes with 2 bytes... :)
Diffstat (limited to 'source/blender/nodes/intern/CMP_util.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_util.c b/source/blender/nodes/intern/CMP_util.c index e60b9ddcce3..0c6834315aa 100644 --- a/source/blender/nodes/intern/CMP_util.c +++ b/source/blender/nodes/intern/CMP_util.c @@ -86,7 +86,7 @@ CompBuf *pass_on_compbuf(CompBuf *cbuf) dupbuf->malloc= 0; /* get last buffer in list, and append dupbuf */ - for(lastbuf= dupbuf; lastbuf; lastbuf= lastbuf->next) + for(lastbuf= cbuf; lastbuf; lastbuf= lastbuf->next) if(lastbuf->next==NULL) break; lastbuf->next= dupbuf; |