deps/kb_meme/meme-5.0.1/src/prior-reader-from-psp.c
/******************************************************************************
 * This function frees an instance of the MEME PSP prior block reader UDT.
 *****************************************************************************/
This function frees an instance of the MEME PSP prior block reader UDT.
This function frees an instance of the MEME PSP prior block reader UDT .
void free_prior_reader_from_psp(DATA_BLOCK_READER_T *reader) {
  PSP_DATA_BLOCK_READER_T *psp_reader 
    = (PSP_DATA_BLOCK_READER_T *) get_data_block_reader_data(reader);
  myfree(psp_reader->filename);
  psp_reader->filename_len = 0;
  psp_reader->filename_buffer_len = 0;
  myfree(psp_reader->sequence_header);
  psp_reader->sequence_header_len = 0;
  psp_reader->sequence_buffer_len = 0;
  myfree(psp_reader->sequence_name);
  psp_reader->sequence_name_len = 0;
  myfree(psp_reader);
}
void free_prior_reader_from_psp ( DATA_BLOCK_READER_T * reader ) { PSP_DATA_BLOCK_READER_T * psp_reader = ( PSP_DATA_BLOCK_READER_T * ) get_data_block_reader_data ( reader ) ; myfree ( psp_reader -> filename ) ; psp_reader -> filename_len = 0 ; psp_reader -> filename_buffer_len = 0 ; myfree ( psp_reader -> sequence_header ) ; psp_reader -> sequence_header_len = 0 ; psp_reader -> sequence_buffer_len = 0 ; myfree ( psp_reader -> sequence_name ) ; psp_reader -> sequence_name_len = 0 ; myfree ( psp_reader ) ; }
This function frees an instance of the MEME PSP prior block reader UDT.
This function frees an instance of the MEME PSP prior block reader UDT .