1 //------------------------------------------------------------------------------
2 // GrB_Matrix_free: free a matrix
3 //------------------------------------------------------------------------------
4 
5 // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
6 // SPDX-License-Identifier: Apache-2.0
7 
8 //------------------------------------------------------------------------------
9 
10 // free all the content of a matrix.  After GrB_Matrix_free (&A), A is set
11 // to NULL
12 
13 #include "GB.h"
14 
GrB_Matrix_free(GrB_Matrix * A)15 GrB_Info GrB_Matrix_free        // free a matrix
16 (
17     GrB_Matrix *A               // handle of matrix to free
18 )
19 {
20 
21     GB_Matrix_free (A) ;
22     return (GrB_SUCCESS) ;
23 }
24 
25