diff options
-rw-r--r-- | src/gallium/drivers/i915/i915_resource_buffer.c | 2 |
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); } |