From: Krzysztof Smiechowicz Date: Mon, 4 Oct 2010 18:43:29 +0000 (-0700) Subject: nvfx: Pair os_malloc_aligned() with os_free_aligned(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68c7994ab5d86cdbfcba75b7f6c3ad734b9fb6b0;p=mesa.git nvfx: Pair os_malloc_aligned() with os_free_aligned(). From AROS. --- diff --git a/src/gallium/drivers/nvfx/nvfx_fragprog.c b/src/gallium/drivers/nvfx/nvfx_fragprog.c index 23fdb0820a5..13e8beed479 100644 --- a/src/gallium/drivers/nvfx/nvfx_fragprog.c +++ b/src/gallium/drivers/nvfx/nvfx_fragprog.c @@ -1558,7 +1558,7 @@ nvfx_fragprog_destroy(struct nvfx_context *nvfx, struct nvfx_fragment_program_bo* next = fpbo->next; nouveau_bo_unmap(fpbo->bo); nouveau_bo_ref(0, &fpbo->bo); - free(fpbo); + os_free_aligned(fpbo); fpbo = next; } while(fpbo != fp->fpbo);