hmmer-3.3/src/fm_general.c
/* Function:  fm_FM_free()
 * Synopsis:  release the memory required to store an individual FM-index
 */
fm_FM_free()
Synopsis:  release the memory required to store an individual FM-index
fm_FM_free () Synopsis : release the memory required to store an individual FM - index
void
fm_FM_destroy ( FM_DATA *fm, int isMainFM)
{
  free (fm->BWT_mem);
  free (fm->C);
  free (fm->occCnts_b);
  free (fm->occCnts_sb);
  if (isMainFM) {
     free (fm->T);
     free (fm->SA);
  }
}
void fm_FM_destroy ( FM_DATA * fm , int isMainFM ) { free ( fm -> BWT_mem ) ; free ( fm -> C ) ; free ( fm -> occCnts_b ) ; free ( fm -> occCnts_sb ) ; if ( isMainFM ) { free ( fm -> T ) ; free ( fm -> SA ) ; } }
Function:  fm_FM_free()
 Synopsis:  release the memory required to store an individual FM-index
Function : fm_FM_free () Synopsis : release the memory required to store an individual FM - index