Bugfixes, in particular fixed memory leak in destructor of cplx_wavelet_dec.cc.
This commit is contained in:
@@ -24,7 +24,7 @@ namespace rtengine {
|
||||
|
||||
cplx_wavelet_decomposition::~cplx_wavelet_decomposition()
|
||||
{
|
||||
for(int i = 0; i < lvltot; i++) {
|
||||
for(int i = 0; i <= lvltot; i++) {
|
||||
for (int j=0; j<4; j++) {
|
||||
delete dual_tree[i][j];
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace rtengine {
|
||||
|
||||
wavelet_decomposition::~wavelet_decomposition()
|
||||
{
|
||||
for(int i = 0; i < lvltot; i++) {
|
||||
for(int i = 0; i <= lvltot; i++) {
|
||||
delete wavelet_decomp[i];
|
||||
}
|
||||
delete[] wavfilt_anal;
|
||||
|
Reference in New Issue
Block a user