mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-20 22:10:30 +01:00
Fix leak of pattern.
This commit is contained in:
parent
751e059f5c
commit
f0fae1d1bc
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-07-18 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* test/composite-integer-translate-over-repeat.c (draw): Fix leak
|
||||
of pattern.
|
||||
|
||||
2005-07-18 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* ROADMAP: Note some progress.
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ draw (cairo_t *cr, int width, int height)
|
|||
cairo_fill (cr);
|
||||
|
||||
cairo_surface_destroy (image);
|
||||
cairo_pattern_destroy (pat);
|
||||
|
||||
return CAIRO_TEST_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue