diff options
Diffstat (limited to 'libs/ardour/session_ltc.cc')
-rw-r--r-- | libs/ardour/session_ltc.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/session_ltc.cc b/libs/ardour/session_ltc.cc index a945cb3dcb..f293970dd4 100644 --- a/libs/ardour/session_ltc.cc +++ b/libs/ardour/session_ltc.cc @@ -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; } |