clustal-omega-1.2.4/src/mymain.c
/**
 * @brief Frees user opt members allocated during parsing
 *
 * @param[out] user_opts
 * user options whose members are to free
 *
 * @see ParseCommandLine()
 *
 */
@brief Frees user opt members allocated during parsing

@param[out] user_opts
user options whose members are to free


@brief Frees user opt members allocated during parsing @param [ out ] user_opts user options whose members are to free
void
FreeUserOpts(cmdline_opts_t *user_opts)
{
    if (NULL != user_opts->pcSeqInfile) {
        CKFREE(user_opts->pcSeqInfile);
    }
    if (NULL != user_opts->pcProfile1Infile) {
        CKFREE(user_opts->pcProfile1Infile);
    }
    if (NULL != user_opts->pcProfile2Infile) {
        CKFREE(user_opts->pcProfile2Infile);
    }
    if (NULL != user_opts->pcAlnOutfile) {
        CKFREE(user_opts->pcAlnOutfile);
    }
    if (NULL != user_opts->pcLogFile) {
        CKFREE(user_opts->pcLogFile);
    }
    if (NULL != user_opts->pcPseudoFile) {
        CKFREE(user_opts->pcPseudoFile);
    }
    FreeAlnOpts(& user_opts->aln_opts);
    return; 
}
void FreeUserOpts ( cmdline_opts_t * user_opts ) { if ( NULL != user_opts -> pcSeqInfile ) { CKFREE ( user_opts -> pcSeqInfile ) ; } if ( NULL != user_opts -> pcProfile1Infile ) { CKFREE ( user_opts -> pcProfile1Infile ) ; } if ( NULL != user_opts -> pcProfile2Infile ) { CKFREE ( user_opts -> pcProfile2Infile ) ; } if ( NULL != user_opts -> pcAlnOutfile ) { CKFREE ( user_opts -> pcAlnOutfile ) ; } if ( NULL != user_opts -> pcLogFile ) { CKFREE ( user_opts -> pcLogFile ) ; } if ( NULL != user_opts -> pcPseudoFile ) { CKFREE ( user_opts -> pcPseudoFile ) ; } FreeAlnOpts ( & user_opts -> aln_opts ) ; return ; }
@brief Frees user opt members allocated during parsing
@brief Frees user opt members allocated during parsing