deps/kb_meme/meme-5.0.1/src/scanned-sequence.c
/*
 * Destroy the scanned sequence structure and all included scanned 
 * site structures.
 */
Destroy the scanned sequence structure and all included scanned
site structures.
Destroy the scanned sequence structure and all included scanned site structures .
void sseq_destroy(void *p) {
  SCANNED_SEQ_T *sseq;
  sseq = (SCANNED_SEQ_T *)p;
  memset(sseq->sites, 0, sizeof(SCANNED_SITE_T) * sseq->site_count);
  free(sseq->sites);
  free(sseq->seq_id);
  memset(sseq, 0, sizeof(SCANNED_SEQ_T));
  free(sseq);
}
void sseq_destroy ( void * p ) { SCANNED_SEQ_T * sseq ; sseq = ( SCANNED_SEQ_T * ) p ; memset ( sseq -> sites , 0 , sizeof ( SCANNED_SITE_T ) * sseq -> site_count ) ; free ( sseq -> sites ) ; free ( sseq -> seq_id ) ; memset ( sseq , 0 , sizeof ( SCANNED_SEQ_T ) ) ; free ( sseq ) ; }
Destroy the scanned sequence structure and all included scanned
 site structures.
Destroy the scanned sequence structure and all included scanned site structures .