[Mesa-dev] [PATCH] i965: Fix leak in blorp CopyTexSubImage2D

Eric Anholt eric at anholt.net
Fri Feb 15 23:16:47 PST 2013


christopher.halse.rogers at canonical.com writes:

> From: Christopher James Halse Rogers <raof at ubuntu.com>
>
> _mesa_delete_renderbuffer does not call the driver-specific
> renderbuffer delete function, so the blorp code was leaking the
> Intel-specific bits, including some GEM objects.
>
> Call the renderbuffer's ->Delete() method instead, which does the
> right thing.
>
> Fixes Unity rapidly sending the machine into the arms of the OOM-killer

Reviewed-by: Eric Anholt <eric at anholt.net>
Also needs:
Note: This is a candidate for the 9.1 branch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130215/e7fa4005/attachment.pgp>


More information about the mesa-dev mailing list