* src/image.c (svg_load_image): Don't pass in a NULL for the
logical rect, because that will sometimes segfault.
/* Get the image dimensions. */
#if LIBRSVG_CHECK_VERSION (2, 46, 0)
- RsvgRectangle zero_rect, viewbox;
+ RsvgRectangle zero_rect, viewbox, out_logical_rect;
rsvg_handle_get_geometry_for_layer (rsvg_handle, NULL,
&zero_rect, &viewbox,
- NULL, NULL);
+ &out_logical_rect, NULL);
viewbox_width = viewbox.x + viewbox.width;
viewbox_height = viewbox.y + viewbox.height;
#else