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;