[cairo-commit] src/cairo-surface.c

Carl Worth cworth at kemper.freedesktop.org
Fri Aug 4 17:16:38 PDT 2006


 src/cairo-surface.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree e2fddcccb43d06486d3680a19cfdd5a54963fcbd (from aec39338033196f2942e9ff0ef6beffd6612030e)
Author: Chris Wilson <cpwilson at taz.qinetiq.com>
Date:   Fri Aug 4 17:16:35 2006 -0700

    Fix memory leak in _cairo_surface_show_glyphs (bug 7766)

diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index fb25e07..c5a1310 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -1754,6 +1754,8 @@ FINISH:
     if (dev_scaled_font != scaled_font)
 	cairo_scaled_font_destroy (dev_scaled_font);
 
+    _cairo_pattern_fini (&dev_source.base);
+
     return status;
 }
 


More information about the cairo-commit mailing list