diff options
author | Alon Levy <alevy@redhat.com> | 2012-11-18 11:44:53 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-11-18 11:44:53 +0200 |
commit | 6f3cee21be2151d57af1e12ffb44bfb0c2890f98 (patch) | |
tree | 3ddbb103b1f62c69fdf1cfa39ff3f8d0ee840703 | |
parent | aaddb6193b92bb64c00fefd68cbae3a6743cf102 (diff) |
on the way to fix leaked references per airlied, but he rewrote the driver for the better, so dead end nowkms
-rw-r--r-- | src/qxl_surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qxl_surface.c b/src/qxl_surface.c index 3ee3067..348131f 100644 --- a/src/qxl_surface.c +++ b/src/qxl_surface.c @@ -1049,6 +1049,7 @@ real_upload_box (qxl_surface_t *surface, int x1, int y1, int x2, int y2) qxl->add_reloc (qxl, &cmd, drawable, 0, offsetof(QXLDrawable, u.copy.src_bitmap), image, handle, 0); qxl->push_drawable (qxl, drawable, &cmd); + qxl_image_destroy(qxl, image); } #define TILE_WIDTH 512 @@ -1645,6 +1646,7 @@ qxl_surface_put_image (qxl_surface_t *dest, qxl->add_reloc(qxl, &cmd, drawable, 0, offsetof(QXLDrawable, u.copy.src_bitmap), image, handle, 0); qxl->push_drawable (qxl, drawable, &cmd); + qxl_image_destroy(image); return TRUE; } |