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

Jose Fonseca jfonseca at vmware.com
Mon Feb 3 20:21:16 CET 2014



----- Original Message -----
> 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
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=XsDKKn2C38Z0QNdS%2Boi50mFvk4%2BiW%2F6RaEWprRFlUxU%3D%0A&s=d876b41ad03741ecc863ed4860b4b2d7e88ce60a2b040d0f2493f3c6496ada1a
> 


Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the mesa-dev mailing list