mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 00:38:06 +02:00
Fix memory leak, (missing _cairo_pattern_fini).
This commit is contained in:
parent
89a9771b60
commit
3a053c1e58
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-07-15 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-gstate.c: (_cairo_gstate_mask): Fix memory leak,
|
||||
(missing _cairo_pattern_fini).
|
||||
|
||||
2005-07-15 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* test/cairo-test.c (cairo_test_for_target): Remove errant line of
|
||||
|
|
|
|||
|
|
@ -952,6 +952,7 @@ _cairo_gstate_mask (cairo_gstate_t *gstate,
|
|||
|
||||
if (gstate->clip.surface)
|
||||
_cairo_pattern_fini (&intermediate_pattern.base);
|
||||
_cairo_pattern_fini (&pattern.base);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue