Merge branch 'master' into 8.11
This commit is contained in:
commit
06b429955a
@ -350,6 +350,7 @@ vips_foreign_load_svg_generate( VipsRegion *or,
|
|||||||
* running inside a non-threaded tilecache.
|
* running inside a non-threaded tilecache.
|
||||||
*/
|
*/
|
||||||
if( !rsvg_handle_render_cairo( svg->page, cr ) ) {
|
if( !rsvg_handle_render_cairo( svg->page, cr ) ) {
|
||||||
|
cairo_destroy( cr );
|
||||||
vips_operation_invalidate( VIPS_OPERATION( svg ) );
|
vips_operation_invalidate( VIPS_OPERATION( svg ) );
|
||||||
vips_error( class->nickname,
|
vips_error( class->nickname,
|
||||||
"%s", _( "SVG rendering failed" ) );
|
"%s", _( "SVG rendering failed" ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user