示例#1
0
void gt_sfxoptions_delete(Suffixeratoroptions *so)
{
  /* no checking if error occurs, since errors have been output before */
  gt_index_options_delete(so->idxopts);
  gt_encseq_options_delete(so->encopts);
  gt_encseq_options_delete(so->loadopts);
  gt_str_delete(so->indexname);
  gt_str_delete(so->inputindex);
  gt_str_array_delete(so->db);
}
示例#2
0
static void gt_genomediff_arguments_delete(void *tool_arguments)
{
    GtGenomediffArguments *arguments = tool_arguments;
    if (!arguments) return;
    gt_str_delete(arguments->indexname);
    gt_str_delete(arguments->unitfile);
    gt_str_delete(arguments->indextype);
    gt_str_array_delete(arguments->filenames);
    gt_option_delete(arguments->ref_unitfile);
    gt_encseq_options_delete(arguments->loadopts);
    gt_index_options_delete(arguments->idxopts);
    gt_free(arguments);
}