i965: Handle deallocation of some private ralloc contexts explicitly.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 23 Oct 2013 18:16:26 +0000 (11:16 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Oct 2013 19:40:55 +0000 (12:40 -0700)
commitdb47074ac02e2b822dd118f4837b32732941b78b
tree413e020df09ed812ef25c2c9ffe01dc1a81b49bc
parentd18477deea5364847ca6d4be1ce6baa6c8c3fa9c
i965: Handle deallocation of some private ralloc contexts explicitly.

These ralloc contexts belong to a specific object and are being
deallocated manually from the class destructor.  Now that we've hooked
up destructors to ralloc there's no reason for them to be children of
any other context, and doing so might to lead to double frees under
some circumstances.  The class destructor has all the responsibility
of freeing class memory resources now.
src/mesa/drivers/dri/i965/brw_cfg.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp