pipebuffer: Fix improper memory free.

This commit is contained in:
José Fonseca 2008-06-11 10:33:41 +09:00
parent 23422d603a
commit 0f552f500c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}