Bug 19062

Summary: intel_miptree_create_for_region steals region from caller
Product: Mesa Reporter: Pierre Willenbrock <pierre>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Don't steal renderbuffer from caller in intel_miptree_create_for_region

Description Pierre Willenbrock 2008-12-12 15:00:24 UTC
Created attachment 21106 [details] [review]
Don't steal renderbuffer from caller in intel_miptree_create_for_region

This leads to double-frees of some regions, once from the renderbuffer code and once from the miptree itself. 

This seems to be true for gallium-0.2, too.
Comment 1 Eric Anholt 2008-12-14 19:29:25 UTC
Committed.  Thanks!

commit e72a44215312ae1f3c812ba28e47b4aec3589de9
Author: Pierre Willenbrock <pierre@pirsoft.de>
Date:   Fri Dec 12 21:18:23 2008 +0100

    intel: Don't steal renderbuffer from caller in intel_miptree_create_for_regi
    
    Fixes double-frees of some regions, once from the renderbuffer code and
    once from the miptree itself.
    
    Bug #19062
Comment 2 Adam Jackson 2009-08-24 12:31:16 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.