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... :)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user