diff options
author | David Reveman <davidr@novell.com> | 2004-09-11 04:22:30 +0000 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2004-09-11 04:22:30 +0000 |
commit | 8ddc94602ef9fca0a42ed3c03723cee787db8c4d (patch) | |
tree | 37ba17bb18807f69043d9179027b4a57b8636c5c | |
parent | d3ab77ad365c0b0100565facdbaa7a8e34f4b119 (diff) |
Fixed memory leakSNAPSHOT_0_2_1
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/glitz_rect.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2004-09-11 David Reveman <c99drn@cs.umu.se> + * src/glitz_rect.c (glitz_set_rectangles): Fixed memory leak. + * src/glitz.c (glitz_composite): Oh, I'm good at these, not the first time I accidentally replaced x with y. diff --git a/src/glitz_rect.c b/src/glitz_rect.c index 46ed484..757b361 100644 --- a/src/glitz_rect.c +++ b/src/glitz_rect.c @@ -140,6 +140,8 @@ glitz_set_rectangles (glitz_surface_t *dst, rects->x, rects->y, rects->width, rects->height, &pf, buffer); + + glitz_buffer_destroy (buffer); } glitz_surface_pop_current (dst); |