mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 10:40:13 +01:00
clip: Propagate failure from retrieving the previous clip surface.
This commit is contained in:
parent
a6ee7aea8a
commit
5e95c62bbb
1 changed files with 2 additions and 1 deletions
|
|
@ -1067,7 +1067,8 @@ _cairo_clip_path_get_surface (cairo_clip_path_t *clip_path,
|
|||
int prev_tx, prev_ty;
|
||||
|
||||
prev_surface = _cairo_clip_path_get_surface (prev, target, &prev_tx, &prev_ty);
|
||||
if (unlikely (prev_surface->status))
|
||||
status = prev_surface->status;
|
||||
if (unlikely (status))
|
||||
goto BAIL;
|
||||
|
||||
_cairo_pattern_init_for_surface (&pattern, prev_surface);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue