diff options
author | Ferdia <fsherry@users.noreply.github.com> | 2020-09-11 23:04:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 23:04:55 +0200 |
commit | 14c4348892de6621f0248d888de58dd614bda8c9 (patch) | |
tree | f3f17316d6e51b81bcdb97d4986f58dcd7921ffa /src/FanFlatProjectionGeometry2D.cpp | |
parent | b1f9c6051205f4c4b03486e16d4697787865bf36 (diff) | |
download | astra-14c4348892de6621f0248d888de58dd614bda8c9.tar.gz astra-14c4348892de6621f0248d888de58dd614bda8c9.tar.bz2 astra-14c4348892de6621f0248d888de58dd614bda8c9.tar.xz astra-14c4348892de6621f0248d888de58dd614bda8c9.zip |
Fix memory leak in CUDA 2D par_fp
Arrays were dynamically allocated in the function convertAndUploadAngles, but were not deallocated, resulting in a memory leak. At the end of this function I now delete [] these arrays, fixing the memory leak.
Diffstat (limited to 'src/FanFlatProjectionGeometry2D.cpp')
0 files changed, 0 insertions, 0 deletions