diff options
Diffstat (limited to 'libs/ardour/session_ltc.cc')
-rw-r--r-- | libs/ardour/session_ltc.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/session_ltc.cc b/libs/ardour/session_ltc.cc index 177598091e..a945cb3dcb 100644 --- a/libs/ardour/session_ltc.cc +++ b/libs/ardour/session_ltc.cc @@ -93,7 +93,10 @@ void Session::ltc_tx_cleanup() { DEBUG_TRACE (DEBUG::LTC, "LTC TX cleanup\n"); - if (ltc_enc_buf) free(ltc_enc_buf); + if (ltc_enc_buf) { + free(ltc_enc_buf); + ltc_enc_buf = 0; + } ltc_encoder_free(ltc_encoder); ltc_encoder = NULL; } |