[Mesa-dev] [PATCH] gallium/auxiliary/indices: replace free() with FREE()

Brian Paul brianp at vmware.com
Fri Jan 31 16:27:11 PST 2014


To match the CALLOC_STRUCT() call.
---
 src/gallium/auxiliary/indices/u_primconvert.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/indices/u_primconvert.c b/src/gallium/auxiliary/indices/u_primconvert.c
index 14da7a6..f2a77ce 100644
--- a/src/gallium/auxiliary/indices/u_primconvert.c
+++ b/src/gallium/auxiliary/indices/u_primconvert.c
@@ -74,7 +74,7 @@ void
 util_primconvert_destroy(struct primconvert_context *pc)
 {
    util_primconvert_save_index_buffer(pc, NULL);
-   free(pc);
+   FREE(pc);
 }
 
 void
-- 
1.7.10.4



More information about the mesa-dev mailing list