From 738e02c3c813ca290ec5e7596c5870adde3a3808 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 8 Aug 2009 03:19:01 +0200 Subject: i915g: Don't try to free a mapped buffer at shutdown --- src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/winsys/drm') diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c index 39032e5ae2e..66cb7fb946f 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c @@ -152,6 +152,5 @@ intel_be_batchbuffer_free(struct intel_be_batchbuffer *batch) if (batch->bo) drm_intel_bo_unreference(batch->bo); - free(batch->base.map); free(batch); } -- cgit v1.2.3