diff options
author | Ben Skeggs <[email protected]> | 2008-03-21 22:01:22 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-03-21 22:01:22 +1100 |
commit | 46b8dd9c16755e97ae547c0a1823e338f7a7c791 (patch) | |
tree | a2cea30134d3bfde1604381c8c7a0f907621e89a /src/gallium/drivers/nv40/nv40_miptree.c | |
parent | 32162871396f65e8afdd90c602b1ccd01233c2e2 (diff) |
nv40: s/free/FREE/
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_miptree.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_miptree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_miptree.c b/src/gallium/drivers/nv40/nv40_miptree.c index 01b3952fe66..215b91fcd08 100644 --- a/src/gallium/drivers/nv40/nv40_miptree.c +++ b/src/gallium/drivers/nv40/nv40_miptree.c @@ -72,7 +72,7 @@ nv40_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt) mt->buffer = ws->buffer_create(ws, 256, PIPE_BUFFER_USAGE_PIXEL, mt->total_size); if (!mt->buffer) { - free(mt); + FREE(mt); return NULL; } @@ -93,9 +93,9 @@ nv40_miptree_release(struct pipe_screen *pscreen, struct pipe_texture **pt) pipe_buffer_reference(ws, &nv40mt->buffer, NULL); for (l = 0; l <= mt->last_level; l++) { if (nv40mt->level[l].image_offset) - free(nv40mt->level[l].image_offset); + FREE(nv40mt->level[l].image_offset); } - free(nv40mt); + FREE(nv40mt); } } |