Esempio n. 1
0
static void tcp_client_free(tcp_client* c) {
	transaction_destroy(c->t);
	bufferevent_free(c->buffer_ev);
	evtimer_del(&c->timeout_ev);
	free(c);
}
Esempio n. 2
0
void
transaction_remove(fetion_account *account, fetion_transaction *trans)
{
	account->trans_list = g_slist_remove(account->trans_list, trans);
	transaction_destroy(trans);
}