simplify prev commit
This commit is contained in:
parent
e0971b2506
commit
126d592e8a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user