Bug 2080 - Texture buffer memory leak (Unichrome)
Summary: Texture buffer memory leak (Unichrome)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/Unichrome (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 05:31 UTC by Chris Audley
Modified: 2009-08-24 12:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Chris Audley 2004-12-15 05:31:16 UTC
Memory allocated for texture objects is not freed when the texture is deleted.
This results in any application which repeatedly loads textures (eg. a
slideshow) eventually running out of memory.

The following line at the end of viaDeleteTexture() in via_tex.c fixes the
problem for me, but I'm not sure what other repercussions it may have.

_mesa_delete_texture_object(ctx, texObj);
Comment 1 Keith Whitwell 2004-12-15 06:05:26 UTC
I've added the line (which matches other drivers behaviour) in Mesa CVS.
Comment 2 Adam Jackson 2009-08-24 12:22:55 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.