intel-driver: Call intel_driver_terminate after i965_destroy_heap
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 3 Aug 2012 03:06:26 +0000 (20:06 -0700)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 17 Aug 2012 00:37:42 +0000 (08:37 +0800)
commitac7aa42d3328574f6e97ab0a42e0189887fc5dae
tree4a793b5006b965080d09df165b7b1591784fffce
parent26735ffad825318e3989eadcd8ab1a8008c10f32
intel-driver: Call intel_driver_terminate after i965_destroy_heap

Otherwise this leads to use-after-free of the bufmgr.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
(cherry picked from commit 5a449f5d2608adaf29c4c052aa28687d9e80a37a)
src/i965_drv_video.c