summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-10-10 14:44:09 -0400
committerChia-I Wu <olvaffe@gmail.com>2010-12-09 19:39:22 -0500
commit2e9e27c0f723654d32bbbb7c9da8a9e80a71cb9f (patch)
treeb11c473c485f52976e0ed65a8114dca95e1a9752 /src/gallium/drivers
parent455a7585de034f3f20f7c4a03fb5695cdf345d8d (diff)
i915: Free with FREE.
Diffstat (limited to 'src/gallium/drivers')
-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 450203d60a..d3d6a6752a 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);
}