[cairo-commit] src/cairo-glitz-surface.c
ç½æ¶å Jinghua Luo
jinghua at kemper.freedesktop.org
Sun Nov 5 20:21:41 PST 2006
src/cairo-glitz-surface.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree 8e74f9f945f4a498ec64930ddd46cc89129812bc (from e759959fd6a59d439fe5fe147326401619cb939b)
Author: Jinghua Luo <sunmoon1997 at gmail.com>
Date: Mon Nov 6 12:21:25 2006 +0800
glitz: fix a memory leak in _cairo_glitz_surface_composite_trapezoids.
diff --git a/src/cairo-glitz-surface.c b/src/cairo-glitz-surface.c
index 940802c..febaa4a 100644
--- a/src/cairo-glitz-surface.c
+++ b/src/cairo-glitz-surface.c
@@ -1217,6 +1217,8 @@ _cairo_glitz_surface_composite_trapezoid
}
_cairo_glitz_surface_set_image (mask, image, 0, 0, width, height, 0, 0);
+
+ cairo_surface_destroy(&image->base);
}
_cairo_glitz_surface_set_attributes (src, &attributes);
More information about the cairo-commit
mailing list