commit 7e085cc588793297de444186aece3e313c2025e9 parent 489ba46c8b81ba370c33ca2a838df86b84ee69e5 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 6 Oct 2020 10:30:36 +0200 Fix a memory leak Diffstat:
| M | src/htrdr_compute_radiance_sw.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/htrdr_compute_radiance_sw.c b/src/htrdr_compute_radiance_sw.c @@ -458,10 +458,10 @@ htrdr_compute_radiance_sw d3_set(pos, pos_next); d3_set(dir, dir_next); } - SSF(phase_ref_put(phase_hg)); - SSF(phase_ref_put(phase_rayleigh)); exit: + SSF(phase_ref_put(phase_hg)); + SSF(phase_ref_put(phase_rayleigh)); return w; }