i965: Replace dri_bo_release with drm_intel_bo_unreference.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Oct 2013 23:09:22 +0000 (16:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Oct 2013 21:27:03 +0000 (14:27 -0700)
commit7601ba649f1d5541e8d77a10701616521b3cd37a
tree2f07577b1dd6ff5880180e64a37d621d13938510
parent5f76bc37abe39bad8ad99a51864f8beda0f6d3d7
i965: Replace dri_bo_release with drm_intel_bo_unreference.

dri_bo_release is a helper function that calls drm_intel_bo_unreference
but then also sets the pointer to NULL.  This is unnecessary, since
brw_destroy_context is called from intelDestroyContext, which also frees
brw completely.

If you're still trying to access them, you've got bigger problems.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vtbl.c