diff options
author | Robin Gareus <robin@gareus.org> | 2013-05-17 13:52:16 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-05-17 13:52:16 +0200 |
commit | 126d592e8a2be72a1f7340ed70400e6a1d1e722b (patch) | |
tree | 76f338bcaa3ba3591b3a7504b3d122b1e1b13eb8 /libs | |
parent | e0971b2506a255adff5ef1aea9bc35c60b891de3 (diff) |
simplify prev commit
Diffstat (limited to 'libs')
-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; } |