[cairo-commit] src/cairo-paginated-surface.c
Carl Worth
cworth at kemper.freedesktop.org
Thu Apr 27 06:06:11 PDT 2006
src/cairo-paginated-surface.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree e1be80b02080955e29d17c50118471158593b86f (from 09a51a4e037473fc104c788c87730b7e97d9fd26)
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 27 06:02:46 2006 -0700
paginated: Remove memory leak of analysis surface from _paint_page
Thanks to Henning Noren <henning.noren.402 at student.lu.se> for pointing this out.
diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c
index b839556..da6a60b 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -241,6 +241,8 @@ _paint_page (cairo_paginated_surface_t *
{
_cairo_meta_surface_replay (surface->meta, surface->target);
}
+
+ cairo_surface_destroy (analysis);
return CAIRO_STATUS_SUCCESS;
}
More information about the cairo-commit
mailing list