13
0

simplify prev commit

This commit is contained in:
Robin Gareus 2013-05-17 13:52:16 +02:00
parent e0971b2506
commit 126d592e8a

View File

@ -93,10 +93,8 @@ void
Session::ltc_tx_cleanup()
{
DEBUG_TRACE (DEBUG::LTC, "LTC TX cleanup\n");
if (ltc_enc_buf) {
free(ltc_enc_buf);
ltc_enc_buf = 0;
}
free(ltc_enc_buf);
ltc_enc_buf = NULL;
ltc_encoder_free(ltc_encoder);
ltc_encoder = NULL;
}