projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary 0 checks before delete; see http://www.parashift.com/c++-faq-lite...
[ardour.git]
/
libs
/
ardour
/
st_stretch.cc
diff --git
a/libs/ardour/st_stretch.cc
b/libs/ardour/st_stretch.cc
index e96cd79f2dc6f592d2998e4cee4e5101925c6454..36af40e929ce815378f837d997c69600eca19717 100644
(file)
--- 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) {