summaryrefslogtreecommitdiff
path: root/libs/ardour/st_stretch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/st_stretch.cc')
-rw-r--r--libs/ardour/st_stretch.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/libs/ardour/st_stretch.cc b/libs/ardour/st_stretch.cc
index e96cd79f2d..36af40e929 100644
--- a/libs/ardour/st_stretch.cc
+++ b/libs/ardour/st_stretch.cc
@@ -195,13 +195,8 @@ Stretch::run (boost::shared_ptr<Region> a_region)
out:
- if (gain_buffer) {
- delete [] gain_buffer;
- }
-
- if (buffer) {
- delete [] buffer;
- }
+ delete [] gain_buffer;
+ delete [] buffer;
if (ret || tsr.cancel) {
for (SourceList::iterator si = nsrcs.begin(); si != nsrcs.end(); ++si) {