Bug 2080

Summary: Texture buffer memory leak (Unichrome)
Product: Mesa Reporter: Chris Audley <chris>
Component: Drivers/DRI/UnichromeAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.