gallium/auxiliary/indices: replace free() with FREE()
authorBrian Paul <brianp@vmware.com>
Sat, 1 Feb 2014 00:27:04 +0000 (17:27 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Feb 2014 19:49:55 +0000 (12:49 -0700)
To match the CALLOC_STRUCT() call.

Cc: "10.0, 10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/indices/u_primconvert.c

index 14da7a68e3ec0deafe8a1b62c31353cc9ed94010..f2a77ceb2cba8659fa39250b1250d6f31339f931 100644 (file)
@@ -74,7 +74,7 @@ void
 util_primconvert_destroy(struct primconvert_context *pc)
 {
    util_primconvert_save_index_buffer(pc, NULL);
-   free(pc);
+   FREE(pc);
 }
 
 void