Resize builder uses 7 temp images
Prevents memory leak and possible segfault
This commit is contained in:
parent
d9709119fa
commit
8fbe8c36fa
@ -77,7 +77,7 @@ vips_resize_build( VipsObject *object )
|
||||
VipsResize *resize = (VipsResize *) object;
|
||||
|
||||
VipsImage **t = (VipsImage **)
|
||||
vips_object_local_array( object, 6 );
|
||||
vips_object_local_array( object, 7 );
|
||||
|
||||
VipsImage *in;
|
||||
int window_size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user