Mercurial > hg > svcore
diff transform/FeatureExtractionModelTransformer.cpp @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | 65494d0d9ded |
children | d9e0e59a1581 |
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp Tue Sep 02 16:23:48 2014 +0100 +++ b/transform/FeatureExtractionModelTransformer.cpp Tue Sep 09 16:36:21 2014 +0100 @@ -741,6 +741,11 @@ delete[] reals; delete[] imaginaries; } + + for (int ch = 0; ch < channelCount; ++ch) { + delete[] buffers[ch]; + } + delete[] buffers; } void