# HG changeset patch # User Chris Cannam # Date 1242124494 0 # Node ID a861016f4811d51a9514822bb7a057119da08942 # Parent ff383bfee463f5a46e879a85d5efba46afea344f * fix obvious memory leak diff -r ff383bfee463 -r a861016f4811 plugins/AdaptiveSpectrogram.cpp --- 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