summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-10-10 14:44:09 -0400
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 14:17:43 +0800
commit32197c0094103d6bb06f992049306daf227f5c8e (patch)
tree335b7b7b2c37b6b9085e469856977bd022c41680
parent11150e4667ce11b056d98244754ce3f2a79599a6 (diff)
i915: Free with FREE.
-rw-r--r--src/gallium/drivers/i915/i915_resource_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_buffer.c b/src/gallium/drivers/i915/i915_resource_buffer.c
index 77c03450b3..d02c768703 100644
--- a/src/gallium/drivers/i915/i915_resource_buffer.c
+++ b/src/gallium/drivers/i915/i915_resource_buffer.c
@@ -55,7 +55,7 @@ i915_buffer_destroy(struct pipe_screen *screen,
{
struct i915_buffer *buffer = i915_buffer(resource);
if (buffer->free_on_destroy)
- align_free(buffer->data);
+ FREE(buffer->data);
FREE(buffer);
}