[cairo-commit] src/cairo-xcb-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Sat Nov 8 06:42:00 PST 2008
src/cairo-xcb-surface.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 164069b339843837e04e2522a615f03a83b362c0
Author: Maarten Maathuis <madman2003 at gmail.com>
Date: Sat Nov 8 15:29:40 2008 +0100
cairo-xcb: avoid leaking memory
diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index d514659..63618bb 100644
--- a/src/cairo-xcb-surface.c
+++ b/src/cairo-xcb-surface.c
@@ -2416,6 +2416,9 @@ _cairo_xcb_surface_emit_glyphs (cairo_xcb_surface_t *dst,
}
}
+ /* We wouldn't want to leak memory, would we? */
+ free(output_glyphs);
+
return CAIRO_STATUS_SUCCESS;
}
More information about the cairo-commit
mailing list