Correct VipsArea ref count in PNG buffer output

This commit is contained in:
Lovell Fuller 2014-08-28 15:54:10 +01:00
parent 86b729150c
commit bdf7126e8f
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ vips_foreign_save_png_buffer_build( VipsObject *object )
g_object_set( object, "buffer", area, NULL );
vips_area_unref( area );
return( 0 );
}