deps/kb_meme/meme-5.0.1/src/substmatrix-table.c
/******************************************************************************
  * This function free the memory associated with a substmatrix_array.
******************************************************************************/
This function free the memory associated with a substmatrix_array.
This function free the memory associated with a substmatrix_array .
void free_substmatrix_array(SUBSTMATRIX_ARRAY_T *a) {
  if (a != NULL) {
    int i;
    for (i = 0; i < a->length; i++) {
      free_matrix(a->substmatrix[i]);
    }
    myfree(a->substmatrix);
    myfree(a->t);
    myfree(a);
  }
}
void free_substmatrix_array ( SUBSTMATRIX_ARRAY_T * a ) { if ( a != NULL ) { int i ; for ( i = 0 ; i < a -> length ; i ++ ) { free_matrix ( a -> substmatrix [ i ] ) ; } myfree ( a -> substmatrix ) ; myfree ( a -> t ) ; myfree ( a ) ; } }
This function free the memory associated with a substmatrix_array.
This function free the memory associated with a substmatrix_array .
// Free the transition matrices. // Free the array for transtion matrices // Free the array for time values // Free the container