Mercurial > hg > qm-vamp-plugins
changeset 102:a861016f4811
* fix obvious memory leak
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 12 May 2009 10:34:54 +0000 |
parents | ff383bfee463 |
children | ef22bed1626a |
files | plugins/AdaptiveSpectrogram.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/AdaptiveSpectrogram.cpp Tue May 12 10:27:03 2009 +0000 +++ b/plugins/AdaptiveSpectrogram.cpp Tue May 12 10:34:54 2009 +0000 @@ -395,6 +395,10 @@ ++index; } + delete[] tmpin; + delete[] tmprout; + delete[] tmpiout; + Cutting *cutting = cut(s, maxwid/2, 0, 0, maxwid/2); #ifdef DEBUG_VERBOSE