summaryrefslogtreecommitdiff
path: root/src/cairo-gl-operand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-gl-operand.c')
-rw-r--r--src/cairo-gl-operand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c
index 575096a84..de3cee725 100644
--- a/src/cairo-gl-operand.c
+++ b/src/cairo-gl-operand.c
@@ -833,7 +833,7 @@ _cairo_gl_pattern_texture_setup (cairo_gl_operand_t *operand,
fail:
cairo_surface_destroy (&surface->base);
- cairo_surface_destroy (image);
+ cairo_surface_destroy (&image->base);
return status;
}