diff options
-rw-r--r-- | src/gallium/drivers/ilo/ilo_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_transfer.c b/src/gallium/drivers/ilo/ilo_transfer.c index f55bd261f75..906c20162ce 100644 --- a/src/gallium/drivers/ilo/ilo_transfer.c +++ b/src/gallium/drivers/ilo/ilo_transfer.c @@ -1026,7 +1026,7 @@ ilo_transfer_map(struct pipe_context *pipe, if (!success) { pipe_resource_reference(&xfer->base.resource, NULL); - FREE(xfer); + util_slab_free(&ilo->transfer_mempool, xfer); *transfer = NULL; return NULL; } |