diff options
-rw-r--r-- | src/radeon_vbo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_vbo.c b/src/radeon_vbo.c index 1924772f..6b0d278a 100644 --- a/src/radeon_vbo.c +++ b/src/radeon_vbo.c @@ -185,6 +185,7 @@ again_alloc: if (!dma_bo->bo) { ErrorF("failure to allocate DMA BO\n"); + free(dma_bo); return NULL; } insert_at_head(&accel_state->bo_reserved, dma_bo); |