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-Tag: mesa-7.10~1151^2~375 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68c7994ab5d86cdbfcba75b7f6c3ad734b9fb6b0;p=platform%2Fupstream%2Fmesa.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 23fdb08..13e8beed 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);