Exemplo n.º 1
0
void
handler_free (handler_t *h) {
    mutex_lock (h->mutex);
    handler_reset (h);
    mutex_unlock (h->mutex);
    mutex_free (h->mutex);
    cond_free (h->cond);
    free (h);
}
Exemplo n.º 2
0
void tm_destroy(tmp_mseq_t *var) {
    cond_free(var->tmp_barcode);
    cond_free(var->tmp_seq);
    cond_free(var->tmp_qual);
    cond_free(var);
}