Add reminder to fix all memory leaks (as determined by the test suite) before release 1.2.0.

Patch leak of patterns as noted in bug #5100 (thanks to Richard Stellingwerff <remenic@gmail.com>).
This commit is contained in:
Carl Worth 2005-11-21 10:50:20 +00:00
parent 345ba540b1
commit 674ed1932e
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2005-11-21 Carl Worth <cworth@cworth.org>
* ROADMAP: Add reminder to fix all memory leaks (as determined by
the test suite) before release 1.2.0.
* src/cairo-gstate.c: (_cairo_gstate_stroke),
(_cairo_gstate_fill): Patch leak of patterns as noted in bug #5100
(thanks to Richard Stellingwerff <remenic@gmail.com>).
2005-11-18 Carl Worth <cworth@cworth.org>
* src/pixman-remap.h: Remove spurios INT_ prefixes which break the

View file

@ -47,6 +47,10 @@ The release won't happen without these being complete.
e. cairo_mask
E. Fix memory leaks
----------------
1. Ensure 'make check-valgrind' passes with no leaks
cairo 1.2.0 desired features (targeted for 2005-11-15)
If these aren't ready, they won't be in the release.
[There are some bugs that need to be added here, and

View file

@ -1190,6 +1190,8 @@ _cairo_gstate_stroke (cairo_gstate_t *gstate, cairo_path_fixed_t *path)
&gstate->ctm_inverse,
gstate->tolerance,
gstate->antialias);
_cairo_pattern_fini (&source_pattern.base);
return status;
@ -1532,6 +1534,8 @@ _cairo_gstate_fill (cairo_gstate_t *gstate, cairo_path_fixed_t *path)
gstate->fill_rule,
gstate->tolerance,
gstate->antialias);
_cairo_pattern_fini (&pattern.base);
return status;
}