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