From 2e9e27c0f723654d32bbbb7c9da8a9e80a71cb9f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 10 Oct 2010 14:44:09 -0400 Subject: i915: Free with FREE. --- src/gallium/drivers/i915/i915_resource_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') 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); } -- cgit v1.2.3