diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-18 14:48:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-18 14:52:45 +0100 |
commit | 44b5912ffcf8dcf4b4b8d3518dd0b62a284f6ee4 (patch) | |
tree | e8e0d288afac1ebf80d9842ac1bac81cc275ee9d /src/sna/gen8_render.c | |
parent | 21b6e551528fdd939004cfb02a4f192e750a33a1 (diff) |
sna/gen8: Fix cleanup after failing to convert channel
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen8_render.c')
-rw-r--r-- | src/sna/gen8_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c index 26a3579d..7fd37c1d 100644 --- a/src/sna/gen8_render.c +++ b/src/sna/gen8_render.c @@ -2306,7 +2306,7 @@ gen8_render_composite(struct sna *sna, return true; if (!gen8_composite_channel_convert(&tmp->src)) - goto cleanup_dst; + goto cleanup_src; break; } @@ -2353,7 +2353,7 @@ gen8_render_composite(struct sna *sna, /* fall through to fixup */ case 1: if (!gen8_composite_channel_convert(&tmp->mask)) - goto cleanup_src; + goto cleanup_mask; break; } } @@ -2588,7 +2588,7 @@ gen8_render_composite_spans(struct sna *sna, /* fall through to fixup */ case 1: if (!gen8_composite_channel_convert(&tmp->base.src)) - goto cleanup_dst; + goto cleanup_src; break; } tmp->base.mask.bo = NULL; |