summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.walkyrie.se>2009-08-08 03:19:01 +0200
committerJakob Bornecrantz <jakob@aurora.walkyrie.se>2009-08-08 03:19:01 +0200
commit738e02c3c813ca290ec5e7596c5870adde3a3808 (patch)
tree7076927a5082f9a5fc151f8524d3fb257053513f
parentf7474a577d54765d893b78fbf0d6a969c2dc60cd (diff)
i915g: Don't try to free a mapped buffer at shutdown
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c1
1 files changed, 0 insertions, 1 deletions
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 39032e5ae2..66cb7fb946 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);
}