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:
commit
e09185860d
@ -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