Merge pull request #168 from lovell/png-save-buffer-unref-area-7.40

Correct VipsArea ref count in PNG buffer output
This commit is contained in:
John Cupitt 2014-08-28 16:38:29 +01:00
commit e09185860d
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 );
}