mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 06:48:01 +02:00
Fix leak in pattern-getters test (missing cairo_pattern_destroy)
This commit is contained in:
parent
b52dda62fe
commit
9854d01a8d
1 changed files with 2 additions and 0 deletions
|
|
@ -160,6 +160,8 @@ draw (cairo_t *cr, int width, int height)
|
|||
!DOUBLE_EQUALS(e,5.0) ||
|
||||
!DOUBLE_EQUALS(f,6.0))
|
||||
return CAIRO_TEST_FAILURE;
|
||||
|
||||
cairo_pattern_destroy (pat);
|
||||
}
|
||||
|
||||
cairo_set_source_rgb (cr, 0, 1, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue