>>Ok, got it. Then we also need to remove the dri_bo_unreference in intel_batchbuffer_delete(), right. As it is duplicate too, the buffer is already unreferenced at intel_batchbuffer_terminate(). Right? Yes, that one should also be removed. Thanks Zou Nanhai