summaryrefslogtreecommitdiff
path: root/src/glitz_rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glitz_rect.c')
-rw-r--r--src/glitz_rect.c2
1 files changed, 2 insertions, 0 deletions
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);