1 //------------------------------------------------------------------------------
2 // SLIP_LU/SLIP_free: wrapper for free
3 //------------------------------------------------------------------------------
4
5 // SLIP_LU: (c) 2019-2020, Chris Lourenco, Jinhao Chen, Erick Moreno-Centeno,
6 // Timothy A. Davis, Texas A&M University. All Rights Reserved. See
7 // SLIP_LU/License for the license.
8
9 //------------------------------------------------------------------------------
10
11 // Free the memory allocated by SLIP_calloc, SLIP_malloc, or SLIP_realloc.
12
13 #include "slip_internal.h"
14
SLIP_free(void * p)15 void SLIP_free
16 (
17 void *p // pointer to memory space to free
18 )
19 {
20 if (!slip_initialized ( )) return ;
21 SuiteSparse_free (p) ;
22 }
23
24