i915g: Don't try to free a mapped buffer at shutdown
authorJakob Bornecrantz <jakob@aurora.walkyrie.se>
Sat, 8 Aug 2009 01:19:01 +0000 (03:19 +0200)
committerJakob Bornecrantz <jakob@aurora.walkyrie.se>
Sat, 8 Aug 2009 01:19:01 +0000 (03:19 +0200)
src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c

index 39032e5ae2e649c84b7165ec39261176a0309840..66cb7fb946ff2e7fa2bbba7ea9fb5f44fc3d0432 100644 (file)
@@ -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);
 }