deps/kb_meme/meme-5.0.1/src/dreme-sax.c
/*****************************************************************************
 * Destroys the data used by the SAX parser
 ****************************************************************************/
Destroys the data used by the SAX parser
Destroys the data used by the SAX parser
void destroy_dreme_io_xml_sax_context(void *ctx) {
  PS_T *ps = (PS_T*)ctx;
  if (ps->motif_id) free(ps->motif_id);
  if (ps->freqs) free(ps->freqs);
  rbtree_destroy(ps->alph_ids);
  free(ps->characters.buffer);
  attrbuf_free(&(ps->attrbuf));
  linklst_destroy_all(ps->expected_stack, free);
  free(ps);
}
void destroy_dreme_io_xml_sax_context ( void * ctx ) { PS_T * ps = ( PS_T * ) ctx ; if ( ps -> motif_id ) free ( ps -> motif_id ) ; if ( ps -> freqs ) free ( ps -> freqs ) ; rbtree_destroy ( ps -> alph_ids ) ; free ( ps -> characters . buffer ) ; attrbuf_free ( & ( ps -> attrbuf ) ) ; linklst_destroy_all ( ps -> expected_stack , free ) ; free ( ps ) ; }
Destroys the data used by the SAX parser
Destroys the data used by the SAX parser