i965: Free brw, not intel.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Jul 2013 17:37:31 +0000 (10:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 21:09:28 +0000 (14:09 -0700)
commit351d2add6218947a142e611cb0a1121cd19242e1
treef1cd273d461299a518e75641842e83b59c4a9873
parente3c2bb1eb4ef73c1c9576f0d5b747605b5de47ef
i965: Free brw, not intel.

Things worked out in the past because both brw and intel share the same
memory address (by virtue of intel being the first member of brw).

However, brw is what actually gets rzalloc'd (brw_context.c:285), so
freeing that seems safer and more obvious.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_context.c