fix crash in compositing nodes passing on NULL compbuf.
(revision 27415 from render25 branch)
This commit is contained in:
@@ -73,7 +73,7 @@ CompBuf *dupalloc_compbuf(CompBuf *cbuf)
|
||||
/* instead of reference counting, we create a list */
|
||||
CompBuf *pass_on_compbuf(CompBuf *cbuf)
|
||||
{
|
||||
CompBuf *dupbuf= alloc_compbuf(cbuf->x, cbuf->y, cbuf->type, 0);
|
||||
CompBuf *dupbuf= (cbuf)? alloc_compbuf(cbuf->x, cbuf->y, cbuf->type, 0): NULL;
|
||||
CompBuf *lastbuf;
|
||||
|
||||
if(dupbuf) {
|
||||
|
||||
Reference in New Issue
Block a user