nvfx: Pair os_malloc_aligned() with os_free_aligned().
authorKrzysztof Smiechowicz <deadwood@wp.pl>
Mon, 4 Oct 2010 18:43:29 +0000 (11:43 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 4 Oct 2010 18:43:29 +0000 (11:43 -0700)
From AROS.

src/gallium/drivers/nvfx/nvfx_fragprog.c

index 23fdb0820a5b73b148a14f0fc26b956496dccfbc..13e8beed4794a503c5fd4668893356c2d1d40b82 100644 (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);