summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKrzysztof Smiechowicz <[email protected]>2010-10-04 11:43:29 -0700
committerCorbin Simpson <[email protected]>2010-10-04 11:43:29 -0700
commit68c7994ab5d86cdbfcba75b7f6c3ad734b9fb6b0 (patch)
tree7b865f52a6464768d14b584957a2743a04999adb /src/gallium
parent3d45d57044507506ca834a4bf983422549c5240a (diff)
nvfx: Pair os_malloc_aligned() with os_free_aligned().
From AROS.
Diffstat (limited to 'src/gallium')
-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 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);