summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Smiechowicz <deadwood@wp.pl>2010-10-04 11:43:29 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-10-04 11:43:29 -0700
commit68c7994ab5d86cdbfcba75b7f6c3ad734b9fb6b0 (patch)
tree7b865f52a6464768d14b584957a2743a04999adb
parent3d45d57044507506ca834a4bf983422549c5240a (diff)
nvfx: Pair os_malloc_aligned() with os_free_aligned().
From AROS.
-rw-r--r--src/gallium/drivers/nvfx/nvfx_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_fragprog.c b/src/gallium/drivers/nvfx/nvfx_fragprog.c
index 23fdb0820a..13e8beed47 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);