mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
free buffer then set it to 0
This commit is contained in:
parent
ae74d66eb7
commit
e0971b2506
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue