Mesa (10.1): gallium/auxiliary/indices: replace free() with FREE()
Ian Romanick
idr at kemper.freedesktop.org
Sat Feb 8 01:10:19 UTC 2014
Module: Mesa
Branch: 10.1
Commit: 39a3b0313b10e9d60f36e50c3f60f5071094bd8d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39a3b0313b10e9d60f36e50c3f60f5071094bd8d
Author: Brian Paul <brianp at vmware.com>
Date: Fri Jan 31 17:27:04 2014 -0700
gallium/auxiliary/indices: replace free() with FREE()
To match the CALLOC_STRUCT() call.
Cc: "10.0, 10.1" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
(cherry picked from commit 307fd76053da39242ada2701b0d32b2177fe3493)
---
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
More information about the mesa-commit
mailing list