Reduced peak memory usage of Noise Reduction, Issue 2557 #119 and #123

This commit is contained in:
Ingo
2015-01-04 18:40:45 +01:00
parent 46518ea6a7
commit d2a4faea14
3 changed files with 47 additions and 33 deletions

View File

@@ -28,7 +28,9 @@ namespace rtengine {
delete wavelet_decomp[i];
}
delete[] wavfilt_anal;
delete[] wavfilt_synth;
delete[] wavfilt_synth;
if(coeff0)
delete [] coeff0;
}
};