nvfx: Pair os_malloc_aligned() with os_free_aligned().

From AROS.
This commit is contained in:
Krzysztof Smiechowicz
2010-10-04 11:43:29 -07:00
committed by Corbin Simpson
parent 3d45d57044
commit 68c7994ab5
+1 -1
View File
@@ -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);