commit | 351d2add6218947a142e611cb0a1121cd19242e1 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Jul 04 10:37:31 2013 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Tue Jul 09 14:09:28 2013 -0700 |
tree | f1cd273d461299a518e75641842e83b59c4a9873 | |
parent | e3c2bb1eb4ef73c1c9576f0d5b747605b5de47ef [diff] |
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>