projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae74d66
)
free buffer then set it to 0
author
jdekozak
<jdekozak@hotmail.com>
Tue, 14 May 2013 18:45:38 +0000
(20:45 +0200)
committer
jdekozak
<jdekozak@hotmail.com>
Fri, 17 May 2013 06:03:56 +0000
(08:03 +0200)
libs/ardour/session_ltc.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_ltc.cc
b/libs/ardour/session_ltc.cc
index 177598091e86398965e7a43463ea99a5c99bda03..a945cb3dcb18e72f749907c62a48a40f7bea57a0 100644
(file)
--- 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;
}