Fix mem leak bug
This commit is contained in:
@@ -194,6 +194,8 @@ namespace Recon {
|
||||
cblas_dcopy(real.getDataSize(), real.getData(), 1 , complexData ,2);
|
||||
cblas_dcopy(image.getDataSize(), image.getData(), 1 , complexData + 1 ,2);
|
||||
Aurora::Matrix complex = Aurora::Matrix::New(complexData, real.getDimSize(0), real.getDimSize(1), 1, Aurora::Complex);
|
||||
Aurora::free(value1);
|
||||
Aurora::free(value2);
|
||||
_blockedAScans = Aurora::real(ifft(complex));
|
||||
|
||||
_blockedAScans.setBlockValue(0, 0, winLength-1, 0);
|
||||
|
||||
Reference in New Issue
Block a user