intel: Don't steal renderbuffer from caller in intel_miptree_create_for_region
authorPierre Willenbrock <pierre@pirsoft.de>
Fri, 12 Dec 2008 20:18:23 +0000 (21:18 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 15 Dec 2008 03:27:56 +0000 (19:27 -0800)
commite72a44215312ae1f3c812ba28e47b4aec3589de9
treea5e5f07f31e4b6c6306512b2236cce6d1d77c740
parent0dfec4ab615d45e298bf47737a348c32eebe2acf
intel: Don't steal renderbuffer from caller in intel_miptree_create_for_region

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

Bug #19062
src/mesa/drivers/dri/intel/intel_mipmap_tree.c