Correct VipsArea ref count in PNG buffer output
This commit is contained in:
parent
86b729150c
commit
bdf7126e8f
@ -211,6 +211,8 @@ vips_foreign_save_png_buffer_build( VipsObject *object )
|
|||||||
|
|
||||||
g_object_set( object, "buffer", area, NULL );
|
g_object_set( object, "buffer", area, NULL );
|
||||||
|
|
||||||
|
vips_area_unref( area );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user