mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-30 16:40:15 +01:00
test/clip-contexts: Free secondary context
This commit is contained in:
parent
bf83bf00a7
commit
75d8550891
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ draw (cairo_t *cr, int width, int height)
|
||||||
cairo_set_source_rgba (cr, 0, 0, 1, .5);
|
cairo_set_source_rgba (cr, 0, 0, 1, .5);
|
||||||
cairo_paint (cr);
|
cairo_paint (cr);
|
||||||
|
|
||||||
|
cairo_destroy (cr2);
|
||||||
|
|
||||||
return CAIRO_TEST_SUCCESS;
|
return CAIRO_TEST_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue