summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-11 10:33:41 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-12 10:56:16 +0900
commit0f552f500c05d041eda751867c779a8ecc11849c (patch)
tree68a0cc916b6cc9d7d8e144d60bcc6c45b368aefb /src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
parent23422d603ae002a1f368e20cd0f158e057876cb8 (diff)
pipebuffer: Fix improper memory free.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
index 6c3502eea7..e90d2e5623 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c
@@ -120,7 +120,7 @@ pb_malloc_buffer_create(size_t size,
buf->data = align_malloc(size, desc->alignment < sizeof(void*) ? sizeof(void*) : desc->alignment);
if(!buf->data) {
- align_free(buf);
+ FREE(buf);
return NULL;
}