Skip to content

Commit

Permalink
Merge pull request #30 from NicoKiaru/patch-1
Browse files Browse the repository at this point in the history
Fix mem leak in DeconvolveRichardsonLucyFFT.java
  • Loading branch information
bnorthan authored Apr 13, 2024
2 parents 4877101 + 2f45289 commit 72594bd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ private static ClearCLBuffer createNormalizationFactor(CLIJ2 clij2, final Dimens

// the normalization factor is the correlation between valid region and psf
ConvolveFFT.runConvolve2(clij2, gpuvalidregion, psf, gpunormal, true);

gpuvalidregion.close();

return gpunormal;
}
Expand Down

0 comments on commit 72594bd

Please sign in to comment.