parent
4605ad6993
commit
a7185b0973
@ -146,8 +146,12 @@ vips_foreign_save_png_build( VipsObject *object )
|
|||||||
if( vips__png_write_target( in, png->target,
|
if( vips__png_write_target( in, png->target,
|
||||||
png->compression, png->interlace, png->profile, png->filter,
|
png->compression, png->interlace, png->profile, png->filter,
|
||||||
save->strip, png->palette, png->Q, png->dither,
|
save->strip, png->palette, png->Q, png->dither,
|
||||||
png->bitdepth ) )
|
png->bitdepth ) ) {
|
||||||
|
g_object_unref( in );
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
}
|
||||||
|
|
||||||
|
g_object_unref( in );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user