mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
pipebuffer: Fix improper memory free.
This commit is contained in:
parent
23422d603a
commit
0f552f500c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue