Fix memory leak, (missing _cairo_pattern_fini).

This commit is contained in:
Carl Worth 2005-07-15 01:05:56 +00:00
parent 89a9771b60
commit 3a053c1e58
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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;
}