i965_drv_video: fix memory leaks in i965 driver 07/807/1
authorEdgar Hucek <gimli@dark-green.com>
Mon, 13 Jun 2011 05:43:37 +0000 (13:43 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 13 Jun 2011 05:43:37 +0000 (13:43 +0800)
Signed-off-by: Edgar Hucek <gimli@dark-green.com>
i965_drv_video/intel_memman.c

index aeb4186..7d56e96 100644 (file)
@@ -44,5 +44,6 @@ intel_memman_init(struct intel_driver_data *intel)
 Bool 
 intel_memman_terminate(struct intel_driver_data *intel)
 {
+    drm_intel_bufmgr_destroy(intel->bufmgr);
     return True;
 }