[PATCH 1/3] glamor: Fix memory leak in put_image
Keith Packard
keithp at keithp.com
Thu May 22 17:29:17 PDT 2014
Markus Wick <markus at selfnet.de> writes:
> Signed-off-by: Markus Wick <markus at selfnet.de>
> ---
> glamor/glamor_image.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/glamor/glamor_image.c b/glamor/glamor_image.c
> index 4791d08..c087a13 100644
> --- a/glamor/glamor_image.c
> +++ b/glamor/glamor_image.c
> @@ -92,6 +92,7 @@ glamor_put_image_bail(DrawablePtr drawable, GCPtr gc, int depth, int x, int y,
> glamor_prepare_access_gc(gc))
> fbPutImage(drawable, gc, depth, x, y, w, h, leftPad, format, bits);
> glamor_finish_access(drawable);
> + glamor_finish_access_gc(gc);
This function shouldn't be calling glamor_prepare_access_gc -- that's
only for fill functions using the stipple or tile.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140522/e97b8204/attachment.sig>
More information about the xorg-devel
mailing list